fix regression in maxWorkers

This commit is contained in:
ansuz 2020-04-21 12:23:48 -04:00
parent 2695b51b0d
commit e05891184e
1 changed files with 1 additions and 0 deletions

View File

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