diff options
author | Bar Shaul <barshaul@amazon.com> | 2022-11-02 16:46:52 +0200 |
---|---|---|
committer | Bar Shaul <barshaul@amazon.com> | 2022-11-02 16:47:33 +0200 |
commit | b43b1dcc04fa5510ccbb81ac36b79420c6281b9f (patch) | |
tree | c12271da3f9d096bf72843640102721e2e4721ff /redis/asyncio | |
parent | 04dfd25f1b153da4afd27d50db7d0d2f1cce3c8c (diff) | |
download | redis-py-b43b1dcc04fa5510ccbb81ac36b79420c6281b9f.tar.gz |
Changed the default value of reinitialize_steps from 10 to 5
Diffstat (limited to 'redis/asyncio')
-rw-r--r-- | redis/asyncio/cluster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/asyncio/cluster.py b/redis/asyncio/cluster.py index 460e396..1993015 100644 --- a/redis/asyncio/cluster.py +++ b/redis/asyncio/cluster.py @@ -217,7 +217,7 @@ class RedisCluster(AbstractRedis, AbstractRedisCluster, AsyncRedisClusterCommand startup_nodes: Optional[List["ClusterNode"]] = None, require_full_coverage: bool = True, read_from_replicas: bool = False, - reinitialize_steps: int = 10, + reinitialize_steps: int = 5, cluster_error_retry_attempts: int = 3, connection_error_retry_attempts: int = 3, max_connections: int = 2**31, |