Set daemon=true for pubsub topology change event thread

This commit is contained in:
Chris Eager authored and Chris Eager committed 2023-07-05 11:15:12 -05:00
1 parent bb9605d7c3
commit 4a91fc3c3d
1 file changed
+1 -1
@@ -178,6 +178,6 @@ public class FaultTolerantRedisCluster {
pubSubConnections.add(pubSubConnection);
return new FaultTolerantPubSubConnection<>(name, pubSubConnection, circuitBreaker, retry, topologyChangedEventRetry,
Schedulers.newSingle(name + "-redisPubSubEvents"));
Schedulers.newSingle(name + "-redisPubSubEvents", true));
}
}