Skip to content

Commit 1aa301b

Browse files
committed
change commands to run only on primary nodes
1 parent 4dd6487 commit 1aa301b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class RedisCluster(RedisClusterCommands):
290290
"FLUSHALL",
291291
"FLUSHDB",
292292
],
293-
ALL_NODES,
293+
PRIMARIES,
294294
),
295295
list_keys_to_dict(
296296
[

0 commit comments

Comments
 (0)