mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Revert error emit on Slow Stream Gen (#1011)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
cecb0aee02
commit
f726db2152
@@ -180,7 +180,7 @@ class StreamDispatcher extends EventEmitter {
|
||||
const data = this.streamingData;
|
||||
|
||||
if (data.missed >= 5) {
|
||||
this._triggerTerminalState('error', 'Stream is not generating quickly enough.');
|
||||
this._triggerTerminalState('end', 'Stream is not generating quickly enough.');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user