Skip to content

Commit

Permalink
Reverting deletion of connection_error_retry_attempts to maintain bac…
Browse files Browse the repository at this point in the history
…kward compatibility
  • Loading branch information
barshaul committed Oct 27, 2022
1 parent 0a1ccef commit 6aaf886
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redis/asyncio/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def from_url(cls, url: str, **kwargs: Any) -> "RedisCluster":
"reinitialize_steps",
"response_callbacks",
"result_callbacks",
"retry",
)

def __init__(
Expand Down Expand Up @@ -337,6 +338,7 @@ def __init__(
self.read_from_replicas = read_from_replicas
self.reinitialize_steps = reinitialize_steps
self.cluster_error_retry_attempts = cluster_error_retry_attempts
self.connection_error_retry_attempts = connection_error_retry_attempts
self.retry = retry
self.reinitialize_counter = 0
self.commands_parser = CommandsParser()
Expand Down

0 comments on commit 6aaf886

Please # to comment.