MCPcopy
hub / github.com/redis/redis-py / connect_to

Method connect_to

redis/asyncio/sentinel.py:42–47  ·  view source on GitHub ↗
(self, address)

Source from the content-addressed store, hash-verified

40 return s + ")>"
41
42 async def connect_to(self, address):
43 self.host, self.port = address
44 await self.connect_check_health(
45 check_health=self.connection_pool.check_connection,
46 retry_socket_connect=False,
47 )
48
49 async def _connect_retry(self):
50 if self._reader:

Callers 1

_connect_retryMethod · 0.95

Calls 1

connect_check_healthMethod · 0.45

Tested by

no test coverage detected