Reduce log level for existing pending presence
This commit is contained in:
parent
d48c031548
commit
c2270e57df
|
@ -173,8 +173,7 @@ public class ClientPresenceManager extends RedisClusterPubSubAdapter<String, Str
|
||||||
final CompletableFuture<Void> presenceFuture = new CompletableFuture<>();
|
final CompletableFuture<Void> presenceFuture = new CompletableFuture<>();
|
||||||
final CompletionStage<?> previousFuture = pendingPresenceSetsByPresenceKey.put(presenceKey, presenceFuture);
|
final CompletionStage<?> previousFuture = pendingPresenceSetsByPresenceKey.put(presenceKey, presenceFuture);
|
||||||
if (previousFuture != null) {
|
if (previousFuture != null) {
|
||||||
log.warn("Unexpected pending presence");
|
log.debug("Another presence is already pending for {}:{}", accountUuid, deviceId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
subscribeForRemotePresenceChanges(presenceKey);
|
subscribeForRemotePresenceChanges(presenceKey);
|
||||||
|
|
Loading…
Reference in New Issue