Terminal: Throttle output to ~30fps

Reviewed By: rafeca

Differential Revision: D5612088

fbshipit-source-id: 3567eb477e771ec680f17ae273dc4daae91614c0
This commit is contained in:
David Aurelio 2017-08-11 14:33:39 -07:00 committed by Facebook Github Bot
parent 506e3ec358
commit 30d85a4b05
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class Terminal {
constructor(stream: net$Socket) {
this._logLines = [];
this._nextStatusStr = '';
this._scheduleUpdate = throttle(this._update, 0);
this._scheduleUpdate = throttle(this._update, 33);
this._statusStr = '';
this._stream = stream;
}