mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +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;
|
const data = this.streamingData;
|
||||||
|
|
||||||
if (data.missed >= 5) {
|
if (data.missed >= 5) {
|
||||||
this._triggerTerminalState('error', 'Stream is not generating quickly enough.');
|
this._triggerTerminalState('end', 'Stream is not generating quickly enough.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user