We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eacbd70 commit 534829eCopy full SHA for 534829e
redis/asyncio/sentinel.py
@@ -73,6 +73,9 @@ async def _connect_retry(self):
73
if self._is_address_fixed:
74
self.connect_to(self.host, self.port)
75
return
76
+ await self._connect_to_sentinel()
77
+
78
+ async def _connect_to_sentinel(self):
79
# If same_server is False, connnect to master in master mode
80
# and rotate to the next slave in slave mode
81
if self.connection_pool.is_master:
0 commit comments