fix regression in maxWorkers

pull/1/head
ansuz 5 years ago
parent 2695b51b0d
commit e05891184e

@ -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