mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 13:06:47 +00:00
Fix number of accounts processed counter
This commit is contained in:
1 parent
4d81124dfa
commit
bf779f30ab
1 file changed
+3
-2
+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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user