Update config/settings.defaults.js

parseint on dispatcher count

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
This commit is contained in:
Henry Oswald 2021-02-04 09:30:35 +00:00 committed by GitHub
parent 11c8cfc939
commit 40de999766

View file

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