Set daemon=true for pubsub topology change event thread

This commit is contained in:
Chris Eager
2023-07-05 08:55:51 -05:00
committed by Chris Eager
parent bb9605d7c3
commit 4a91fc3c3d

View File

@@ -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));
}
}