Skip to content

Commit f1cc910

Browse files
committed
move appending cmd
1 parent 576e590 commit f1cc910

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redis/cluster.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,10 +1992,9 @@ def _send_cluster_commands(
19921992
redis_node.connection_pool,
19931993
connection,
19941994
)
1995+
nodes[node_name].append(c)
19951996
break
19961997

1997-
nodes[node_name].append(c)
1998-
19991998
# send the commands in sequence.
20001999
# we write to all the open sockets for each node first,
20012000
# before reading anything

0 commit comments

Comments
 (0)