Skip to content
Snippets Groups Projects
Commit 1510a3cf authored by Andrei Cioromila's avatar Andrei Cioromila
Browse files

fix(*): Use default setting for pool connection timeout

Our custom setting is really low, which means the connections are destryed and recreated very often.
This may lead to errors in acquiring a connection to the db
parent 0756befc
No related branches found
No related tags found
1 merge request!236Jobs crash
......@@ -40,7 +40,7 @@ module.exports = {
},
'pubsweet-server': {
db: getDbConfig(),
pool: { min: 0, max: 10, idleTimeoutMillis: 1000 },
pool: { min: 0, max: 10 },
ignoreTerminatedConnectionError: true,
port: 3000,
logger,
......
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