Skip to content

Commit

Permalink
Remove asyncio client delay before attempting reconnection (Fixes mig…
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Feb 5, 2021
1 parent cdfc1d8 commit 1d174b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engineio/asyncio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ async def _read_loop_websocket(self):
timeout=self.ping_interval + self.ping_timeout)
p = p.data
if p is None: # pragma: no cover
await self.queue.put(None)
break # the connection is broken
except asyncio.TimeoutError:
self.logger.warning(
Expand Down

0 comments on commit 1d174b7

Please sign in to comment.