Commit 4a6a8777 authored by Bogdan Cochior's avatar Bogdan Cochior

perf:add pool config

parent 17e6aeb4
......@@ -40,6 +40,8 @@ module.exports = {
},
'pubsweet-server': {
db: getDbConfig(),
pool: { min: 0, max: 10, idleTimeoutMillis: 1000 },
ignoreTerminatedConnectionError: true,
port: 3000,
logger,
uploads: 'uploads',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment