Skip to content

Commit

Permalink
disable dep graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushaga14 committed Jan 16, 2025
1 parent 09f2543 commit a5df94d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ public void syncFunction(List<HttpResponseParams> responseParams, boolean syncIm
apiCatalogSync.computeDelta(aggregator, false, apiCollectionId);
}

for (HttpResponseParams responseParam: filteredResponseParams) {
dependencyAnalyser.analyse(responseParam.getOrig(), responseParam.requestParams.getApiCollectionId());
}
// for (HttpResponseParams responseParam: filteredResponseParams) {
// dependencyAnalyser.analyse(responseParam.getOrig(), responseParam.requestParams.getApiCollectionId());
// }

this.sync_count += filteredResponseParams.size();
int syncThresh = numberOfSyncs < 10 ? 10000 : sync_threshold_count;
Expand All @@ -295,8 +295,8 @@ public void syncFunction(List<HttpResponseParams> responseParams, boolean syncIm
}
SyncLimit syncLimit = fetchSyncLimit();
apiCatalogSync.syncWithDB(syncImmediately, fetchAllSTI, syncLimit);
dependencyAnalyser.dbState = apiCatalogSync.dbState;
dependencyAnalyser.syncWithDb();
// dependencyAnalyser.dbState = apiCatalogSync.dbState;
// dependencyAnalyser.syncWithDb();
syncTrafficMetricsWithDB();
this.last_synced = Context.now();
this.sync_count = 0;
Expand Down

0 comments on commit a5df94d

Please sign in to comment.