Skip to content

Commit 2d85066

Browse files
Major rework of shutdown and reconnect logs to avoid zombie tasks and 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 <6032823+jack1142@users.noreply.github.com> * Update lavalink/node.py Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
1 parent fbcec12 commit 2d85066

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lavalink/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _gen_key(self):
228228
self._resume_key.__repr__()
229229
return self._resume_key
230230

231-
async def connect(self, timeout=None, *, shutdown=False):
231+
async def connect(self, timeout: float = None, *, shutdown: bool = False):
232232
"""
233233
Connects to the Lavalink player event websocket.
234234

0 commit comments

Comments
 (0)