Skip to content

Commit

Permalink
lowered retries
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadQadora committed Sep 9, 2024
1 parent eef67b8 commit e65ee26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falkordb/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ def Cluster_Conn(conn, ssl):
connection_kwargs = conn.connection_pool.connection_kwargs
username = connection_kwargs['username']
password = connection_kwargs['password']
return RedisCluster(Retry(default_backoff(),6),cluster_error_retry_attempts=20,startup_nodes=nodes,username=username,password=password,ssl=ssl)
return RedisCluster(Retry(default_backoff(),6),cluster_error_retry_attempts=6,startup_nodes=nodes,username=username,password=password,ssl=ssl)

Check warning on line 17 in falkordb/cluster.py

View check run for this annotation

Codecov / codecov/patch

falkordb/cluster.py#L17

Added line #L17 was not covered by tests

0 comments on commit e65ee26

Please sign in to comment.