mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +00:00
Revert error emit on Slow Stream Gen (#1011)
This commit is contained in:
parent
cecb0aee02
commit
f726db2152
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue