Skip to content

Commit 17a16c6

Browse files
authored
Merge branch 'master' into truncate-pipeline-exception
2 parents ffa35f0 + 6f752b0 commit 17a16c6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: .readthedocs.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ version: 2
22

33
python:
44
install:
5+
- requirements: docs/requirements.txt
56
- method: pip
67
path: .
7-
- method: pip
8-
requirements: ./docs/requirements.txt
98

109
build:
1110
os: ubuntu-20.04

Diff for: redis/cluster.py

+1-1
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)