mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 06:26:47 +00:00
Configure keyspace notifications in LocalFaultTolerantRedisClusterFactory
This commit is contained in:
1 parent
7df978390f
commit
65ba88c4bb
1 file changed
+3
+3
@@ -22,6 +22,9 @@ public class LocalFaultTolerantRedisClusterFactory implements FaultTolerantRedis
|
||||
try {
|
||||
redisClusterExtension.beforeAll(null);
|
||||
redisClusterExtension.beforeEach(null);
|
||||
|
||||
redisClusterExtension.getRedisCluster().useCluster(connection ->
|
||||
connection.sync().upstream().commands().configSet("notify-keyspace-events", "K$glz"));
|
||||
} catch (final Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user