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:
parent
5d82cabd1c
commit
07ec7702cd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user