Fix number of accounts processed counter

This commit is contained in:
Katherine
2025-07-24 12:26:49 -04:00
committed by GitHub
parent 4d81124dfa
commit bf779f30ab

View File

@@ -78,9 +78,10 @@ public class EncryptDeviceCreationTimestampCommand extends AbstractSinglePassCra
log.warn("Failed to encrypt creation timestamp on device {}, account {}", device.getId(), account.getUuid(), throwable);
return Mono.empty();
});
}, MAX_CONCURRENCY),
}, MAX_CONCURRENCY)
.then()
.doOnSuccess(_ -> processedAccountCounter.increment()),
MAX_CONCURRENCY)
.doOnComplete(processedAccountCounter::increment)
.then()
.block();
}