Skip to content

Commit

Permalink
added retry_on_error to the conn object returned by the Is_sentinel f…
Browse files Browse the repository at this point in the history
…unction
  • Loading branch information
MuhammadQadora committed Oct 13, 2024
1 parent c6136bc commit 4faa66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falkordb/falkordb.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(

if Is_Sentinel(conn):
self.sentinel, self.service_name = Sentinel_Conn(conn, ssl)
conn = self.sentinel.master_for(self.service_name, ssl=ssl, retry=retry)
conn = self.sentinel.master_for(self.service_name, ssl=ssl, retry=retry, retry_on_error=retry_on_error)

Check warning on line 126 in falkordb/falkordb.py

View check run for this annotation

Codecov / codecov/patch

falkordb/falkordb.py#L126

Added line #L126 was not covered by tests

if Is_Cluster(conn):
conn = Cluster_Conn(
Expand Down

0 comments on commit 4faa66a

Please sign in to comment.