mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 09:26:47 +00:00
Dispatch client presence operations after device deletion to a dedicated executor
This commit is contained in:
1 parent
b9dd9fc47d
commit
d8adbf3a9e
1 file changed
+3
-3
@@ -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