mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 18:28:10 +01:00
Dispatch client presence operations after device deletion to a dedicated executor
This commit is contained in:
@@ -353,11 +353,11 @@ public class AccountsManager {
|
||||
|
||||
return CompletableFuture.failedFuture(throwable);
|
||||
})
|
||||
.whenComplete((ignored, throwable) -> {
|
||||
.whenCompleteAsync((ignored, throwable) -> {
|
||||
if (throwable == null) {
|
||||
clientPresenceManager.disconnectPresence(accountIdentifier, deviceId);
|
||||
RedisOperation.unchecked(() -> clientPresenceManager.disconnectPresence(accountIdentifier, deviceId));
|
||||
}
|
||||
});
|
||||
}, clientPresenceExecutor);
|
||||
}
|
||||
|
||||
public Account changeNumber(final Account account,
|
||||
|
||||
Reference in New Issue
Block a user