mirror of https://github.com/status-im/metro.git
Terminal: Throttle output to ~30fps
Reviewed By: rafeca Differential Revision: D5612088 fbshipit-source-id: 3567eb477e771ec680f17ae273dc4daae91614c0
This commit is contained in:
parent
506e3ec358
commit
30d85a4b05
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue