Skip to content

Commit

Permalink
disable concurrency in case of libuv/libuv#1459
Browse files Browse the repository at this point in the history
termux/termux-packages#1798
There must be a better workaround?
  • Loading branch information
Quasic authored Nov 16, 2017
1 parent be6dd2e commit 5758d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/farm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const DEFAULT_OPTIONS = {
maxCallsPerWorker : Infinity
, maxConcurrentWorkers : require('os').cpus().length
, maxConcurrentWorkers : (require('os').cpus()||{length:1}).length
, maxConcurrentCallsPerWorker : 10
, maxConcurrentCalls : Infinity
, maxCallTime : Infinity // exceed this and the whole worker is terminated
Expand Down

0 comments on commit 5758d90

Please sign in to comment.