2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-03 15:40:14 +00:00

Fix #f7451db when counting available CPUs (missing array length)

This commit is contained in:
Romain 2017-03-07 22:13:46 +11:00
parent 5d82cabd1c
commit 07ec7702cd

View File

@ -68,7 +68,7 @@ function parallel (tasks, bar, callback) {
done(err)
})
})
async.parallelLimit(decorated, os.cpus(), callback)
async.parallelLimit(decorated, os.cpus().length, callback)
}
function finish (err) {