From e05891184e27d4915d258ac1ceb1a19706ad6879 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 21 Apr 2020 12:23:48 -0400 Subject: [PATCH] fix regression in maxWorkers --- lib/workers/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/workers/index.js b/lib/workers/index.js index 6a163cadc..911b34337 100644 --- a/lib/workers/index.js +++ b/lib/workers/index.js @@ -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 + ']'); }