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
1 changed files with 1 additions and 1 deletions

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