diff options
| author | salmonik <raisersoft@proton.me> | 2026-05-20 17:08:40 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-05-20 17:08:40 +0200 |
| commit | 8d35930871db37b1009275c423ce95ed72954613 (patch) | |
| tree | 1372be685f4eb8764c316c06586b18d20732bc40 /src/tasks | |
| parent | Redirect play_commands imports to cogs.voice, remove audio_playback shim (diff) | |
| download | senator-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 'src/tasks')
0 files changed, 0 insertions, 0 deletions
