Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianHuc committed Dec 20, 2024
1 parent 1abf8d7 commit b638832
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,15 @@ private boolean isTracerReady() {
RequestLimiterDispatcher.getLimiter(
RequestLimiterDispatcher.SINGLE_INSTANCE_REQUEST_LIMITER_KEY);

return synchronizationService.isInitialSyncPhaseDone()
if(!synchronizationService.isInitialSyncPhaseDone()) {
log.info("Initial sync phase not done yet");
return false;
}

return
// TODO: Temporarily disabled.
// && isInSync.get()
&& !requestLimiter.isNodeAtMaxCapacity();
!requestLimiter.isNodeAtMaxCapacity();
}

@Override
Expand Down

0 comments on commit b638832

Please sign in to comment.