We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c896e commit dec26ffCopy full SHA for dec26ff
redis/cluster.py
@@ -2122,7 +2122,7 @@ def send_cluster_commands(
2122
raise_on_error=raise_on_error,
2123
allow_redirections=allow_redirections,
2124
)
2125
- except (ClusterDownError, ConnectionError) as e:
+ except RedisCluster.ERRORS_ALLOW_RETRY as e:
2126
if retry_attempts > 0:
2127
# Try again with the new cluster setup. All other errors
2128
# should be raised.
0 commit comments