Set `daemon=true` for pubsub topology change event thread
This commit is contained in:
parent
bb9605d7c3
commit
4a91fc3c3d
|
@ -178,6 +178,6 @@ public class FaultTolerantRedisCluster {
|
||||||
pubSubConnections.add(pubSubConnection);
|
pubSubConnections.add(pubSubConnection);
|
||||||
|
|
||||||
return new FaultTolerantPubSubConnection<>(name, pubSubConnection, circuitBreaker, retry, topologyChangedEventRetry,
|
return new FaultTolerantPubSubConnection<>(name, pubSubConnection, circuitBreaker, retry, topologyChangedEventRetry,
|
||||||
Schedulers.newSingle(name + "-redisPubSubEvents"));
|
Schedulers.newSingle(name + "-redisPubSubEvents", true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue