Browse Source

fix regression in maxWorkers

master
ansuz 9 months ago
parent
commit
e05891184e
1 changed files with 1 additions and 0 deletions
  1. 1
      lib/workers/index.js

1
lib/workers/index.js

@ -203,6 +203,7 @@ Workers.initialize = function (Env, config, _cb) {
Log.info("INSUFFICIENT_MAX_WORKERS", max); Log.info("INSUFFICIENT_MAX_WORKERS", max);
limit = 1; limit = 1;
} }
limit = max;
} else { } else {
Log.error("INVALID_MAX_WORKERS", '[' + max + ']'); Log.error("INVALID_MAX_WORKERS", '[' + max + ']');
} }

Loading…
Cancel
Save