Skip to content

Commit 458a935

Browse files
authored
Merge branch 'master' into optional-jwt
2 parents cae2c95 + 6f752b0 commit 458a935

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
@@ -2122,7 +2122,7 @@ def send_cluster_commands(
21222122
raise_on_error=raise_on_error,
21232123
allow_redirections=allow_redirections,
21242124
)
2125-
except (ClusterDownError, ConnectionError) as e:
2125+
except RedisCluster.ERRORS_ALLOW_RETRY as e:
21262126
if retry_attempts > 0:
21272127
# Try again with the new cluster setup. All other errors
21282128
# should be raised.

0 commit comments

Comments
 (0)