mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
Reduce async.queue concurrency to 3
Due to a process being spawned for every pipeline run, concurrency should remain around 3 to keep number of child processes from running away and allowing the CPU to stay on top.
This commit is contained in:
parent
6eae7a9a31
commit
e788b7d3d4
@ -170,7 +170,7 @@ class Engine {
|
||||
const cargo = async.queue((task, callback) => {
|
||||
generateCode(task.modifiedAsset);
|
||||
self.events.once('outputDone', callback);
|
||||
}, 10);
|
||||
}, 3);
|
||||
const addToCargo = function (modifiedAsset) {
|
||||
cargo.push({modifiedAsset});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user