You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use unzip.Extract, Cpu soars from 4% to 50% and does not recover.
The feature I used in the electron program, removing unzip.Extract cpu will steadily decrease, plus this sentence will rise and not decrease.
The task in Parse.prototype._flush has been triggered, causing the cpu to remain busy.
`this._pullStream.once("end", function () {
self._streamEnd = true;
});
this._pullStream.once("finish", function () {
self._streamFinish = true;
});
Parse.prototype._flush = function (callback) {
if (!this._streamEnd || !this._streamFinish) {
return setImmediate(this._flush.bind(this, callback));
}
var r = callback();
this.emit('close');
return r;
};`
Following the example in README.md, I found that the event registered above was not triggered, causing theParse.prototype._flush to be called again. It ends up with a cpu busyness.
Is it wrong for me to deal with it?
The text was updated successfully, but these errors were encountered:
use
unzip.Extract
, Cpu soars from 4% to 50% and does not recover.The task in Parse.prototype._flush has been triggered, causing the cpu to remain busy.
`this._pullStream.once("end", function () {
self._streamEnd = true;
});
this._pullStream.once("finish", function () {
self._streamFinish = true;
});
Parse.prototype._flush = function (callback) {
if (!this._streamEnd || !this._streamFinish) {
return setImmediate(this._flush.bind(this, callback));
}
var r = callback();
this.emit('close');
return r;
};`
Following the example in README.md, I found that the event registered above was not triggered, causing the
Parse.prototype._flush
to be called again. It ends up with a cpu busyness.Is it wrong for me to deal with it?
The text was updated successfully, but these errors were encountered: