fix: add missing draining state variable in VoiceTransmitter class
Deploy to VPS / deploy (push) Successful in 2m18s

This commit is contained in:
asepharyana
2026-07-26 16:18:33 +07:00
parent d5a547eb25
commit 39a3bc6269
@@ -27,6 +27,8 @@ export class VoiceTransmitter {
private gate = Promise.resolve(); private gate = Promise.resolve();
/** Set true before sending SIGTERM so exit handler knows it's intentional */ /** Set true before sending SIGTERM so exit handler knows it's intentional */
private _expectedExit = false; private _expectedExit = false;
/** True while the underlying stream is in a drain state (backpressure) */
private draining = false;
/** /**
* Start listening for PCM audio data from Redis and stream to Discord * Start listening for PCM audio data from Redis and stream to Discord