We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10ff6de commit 9459660Copy full SHA for 9459660
packages/client/lib/cluster/cluster-slots.ts
@@ -518,7 +518,7 @@ export default class RedisClusterSlots<
518
node = index < this.masters.length ?
519
this.masters[index] :
520
this.replicas[index - this.masters.length],
521
- client = this.#createClient(node, true);
+ client = this.#createClient(node, index >= this.masters.length);
522
523
this.pubSubNode = {
524
address: node.address,
0 commit comments