Skip to content

Commit a3f6366

Browse files
committed
Updated CONNECTION_ERRORS
1 parent 073531b commit a3f6366

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
@@ -3021,7 +3021,7 @@ class TransactionStrategy(AbstractStrategy):
30213021
IMMEDIATE_EXECUTE_COMMANDS = {"WATCH", "UNWATCH"}
30223022
UNWATCH_COMMANDS = {"DISCARD", "EXEC", "UNWATCH"}
30233023
SLOT_REDIRECT_ERRORS = (AskError, MovedError)
3024-
CONNECTION_ERRORS = (ConnectionError, OSError, ClusterDownError)
3024+
CONNECTION_ERRORS = (ConnectionError, OSError, ClusterDownError,SlotNotCoveredError)
30253025

30263026
def __init__(self, pipe: ClusterPipeline):
30273027
super().__init__(pipe)

0 commit comments

Comments
 (0)