aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cogs/test_web.py
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2026-05-20 17:08:40 +0200
committersalmonik <raisersoft@proton.me>2026-05-20 17:08:40 +0200
commit8d35930871db37b1009275c423ce95ed72954613 (patch)
tree1372be685f4eb8764c316c06586b18d20732bc40 /tests/cogs/test_web.py
parentRedirect play_commands imports to cogs.voice, remove audio_playback shim (diff)
downloadsenator-sperma-8d35930871db37b1009275c423ce95ed72954613.tar.gz
senator-sperma-8d35930871db37b1009275c423ce95ed72954613.zip
Fix stale-connection reconnect hang and TTS temp-file collision
- _ensure_voice_client: call _remove_voice_client() when cleaning up stale or disconnected clients so the fresh connect doesn't hang for 30s waiting for Discord's stale state to clear - Reduce connect timeout from 30s to 10s for faster failure recovery - vclogs.py: use a unique temp filename per TTS call (include timestamp) instead of relying on PID alone, preventing concurrent TTS calls from clobbering each other's files
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions