in src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java [358:369]
private void blockingSendStoredStatus() throws InterruptedException, IOException {
try (Timer.Context context = distributionMetricsService.getSendStoredStatusDuration().time()) {
int retry = 0;
while (running) {
if (bookKeeper.sendStoredStatus(retry)) {
return;
}
retry++;
}
}
throw new InterruptedException("Shutting down");
}