Fix number of accounts processed counter

This commit is contained in:
Katherine authored and GitHub committed 2025-07-24 12:26:49 -04:00
1 parent 4d81124dfa
commit f80c242ec2
1 file changed
+3 -2
@@ -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();
}