mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
set concurrency to number of cores
This commit is contained in:
@@ -60,7 +60,7 @@ const PLUGINS = fs.readdirSync(PLUGINS_PATH);
|
||||
|
||||
// Create a queue to process tasks
|
||||
const QUEUE = queue({
|
||||
concurrency: 10
|
||||
concurrency: require('os').cpus().length
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user