Skip to content

Commit

Permalink
Major rework of shutdown and reconnect logs to avoid zombie tasks and…
Browse files Browse the repository at this point in the history
… race conditions (Cog-Creators#117)

* Major rework of shutdown and reconnect logs to avoid zombie tasks and race conditions

* depends

* cleanup nodes

* rename vars

* missing callbacks

* add a `wait_until_ready` to `lavalink`

* change order to avoid circular imports

* *sigh*

* uhh

* ensure volume persists on a resume

* formatting

* revert task callbacks

* Apply suggestions from code review

Co-authored-by: jack1142 <[email protected]>

* Update lavalink/node.py

Co-authored-by: jack1142 <[email protected]>
  • Loading branch information
Drapersniper and Jackenmen committed Mar 20, 2022
1 parent 1480a3d commit 1a6c652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lavalink/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ async def connect(self, timeout=None, shutdown=False):
------
asyncio.TimeoutError
If the websocket failed to connect after the given time.
AbortingConnectionException:
AbortingConnection:
If the connection attempt must be aborted during a reconnect attempt
"""
self._is_shutdown = shutdown
Expand Down

0 comments on commit 1a6c652

Please sign in to comment.