From 1a6c6529cf943141e341ca05b08cc49190ff5aae Mon Sep 17 00:00:00 2001 From: Draper <27962761+Drapersniper@users.noreply.github.com> Date: Sun, 20 Mar 2022 21:05:28 +0000 Subject: [PATCH] Major rework of shutdown and reconnect logs to avoid zombie tasks and race conditions (#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 <6032823+jack1142@users.noreply.github.com> * Update lavalink/node.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com> --- lavalink/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lavalink/node.py b/lavalink/node.py index 7e8a9cb6..a39a8374 100644 --- a/lavalink/node.py +++ b/lavalink/node.py @@ -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