Revert error emit on Slow Stream Gen (#1011)

This commit is contained in:
bdistin 2016-12-22 21:24:31 -06:00 committed by Schuyler Cebulskie
parent cecb0aee02
commit f726db2152

View file

@ -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;
}