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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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) {