Log when messages cache detects topology change (#354)

Co-authored-by: Moxie Marlinspike <moxie+github@signal.org>
This commit is contained in:
Moxie Marlinspike
2021-01-17 17:13:23 -08:00
committed by GitHub
parent b80a2921aa
commit 27534d408f

View File

@@ -127,6 +127,8 @@ public class MessagesCache extends RedisClusterPubSubAdapter<String, String> imp
}
private void resubscribeAll() {
logger.info("Got topology change event, resubscribing all keyspace notifications");
final Set<String> queueNames;
synchronized (messageListenersByQueueName) {