From 40de9997664c275bfae57d11322064700f67fb9a Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Thu, 4 Feb 2021 09:30:35 +0000 Subject: [PATCH] Update config/settings.defaults.js parseint on dispatcher count Co-authored-by: John Lees-Miller --- services/document-updater/config/settings.defaults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/config/settings.defaults.js b/services/document-updater/config/settings.defaults.js index 67be229eef..37c23792f6 100755 --- a/services/document-updater/config/settings.defaults.js +++ b/services/document-updater/config/settings.defaults.js @@ -171,7 +171,7 @@ module.exports = { maxJsonRequestSize: parseInt(process.env.MAX_JSON_REQUEST_SIZE, 10) || 8 * 1024 * 1024, - dispatcherCount: process.env.DISPATCHER_COUNT || 10, + dispatcherCount: parseInt(process.env.DISPATCHER_COUNT || 10, 10) mongo: { options: {