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 c03ef63 commit 3cf820fCopy full SHA for 3cf820f
redis/client.py
@@ -1370,7 +1370,7 @@ def clean_health_check_responses(self):
1370
ttl = 10
1371
conn = self.connection
1372
while self.health_check_response_counter > 0 and ttl > 0:
1373
- if self._execute(conn, conn.can_read, timeout=1):
+ if self._execute(conn, conn.can_read, timeout=conn.socket_timeout):
1374
response = self._execute(conn, conn.read_response)
1375
if self.is_health_check_response(response):
1376
self.health_check_response_counter -= 1
0 commit comments