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 8a9cc1f commit f7a7498Copy full SHA for f7a7498
redis/asyncio/connection.py
@@ -705,6 +705,8 @@ async def connect(self):
705
return
706
try:
707
await self._connect()
708
+ except asyncio.CancelledError:
709
+ raise # in 3.7 and earlier, this is an Exception, not BaseException
710
except (socket.timeout, asyncio.TimeoutError):
711
raise TimeoutError("Timeout connecting to server")
712
except OSError as e:
0 commit comments