Skip to content

Commit 31e6a44

Browse files
authored
Merge branch 'master' into fix-async-client-safety
2 parents fa43e6b + 60fd6f9 commit 31e6a44

File tree

10 files changed

+419
-336
lines changed

10 files changed

+419
-336
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
max-parallel: 15
7575
fail-fast: false
7676
matrix:
77-
redis-version: ['8.2-RC1-pre', '${{ needs.redis_version.outputs.CURRENT }}', '7.4.4', '7.2.9']
77+
redis-version: ['8.2', '${{ needs.redis_version.outputs.CURRENT }}', '7.4.4', '7.2.9']
7878
python-version: ['3.9', '3.13']
7979
parser-backend: ['plain']
8080
event-loop: ['asyncio']
@@ -99,7 +99,7 @@ jobs:
9999
fail-fast: false
100100
matrix:
101101
redis-version: [ '${{ needs.redis_version.outputs.CURRENT }}' ]
102-
python-version: ['3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
102+
python-version: ['3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
103103
parser-backend: [ 'plain' ]
104104
event-loop: [ 'asyncio' ]
105105
env:

redis/cluster.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ def parse_cluster_myshardid(resp, **options):
170170
"redis_connect_func",
171171
"password",
172172
"port",
173+
"timeout",
173174
"queue_class",
174175
"retry",
175176
"retry_on_timeout",
@@ -2716,8 +2717,8 @@ def send_cluster_commands(
27162717
27172718
If one of the retryable exceptions has been thrown we assume that:
27182719
- connection_pool was disconnected
2719-
- connection_pool was reseted
2720-
- refereh_table_asap set to True
2720+
- connection_pool was reset
2721+
- refresh_table_asap set to True
27212722
27222723
It will try the number of times specified by
27232724
the retries in config option "self.retry"

0 commit comments

Comments
 (0)