Add timeout for all postgres requests

This commit is contained in:
Ajay
2022-11-15 14:19:15 -05:00
parent 4139bf8f8c
commit 9e2e1343da
3 changed files with 4 additions and 1 deletions

View File

@@ -77,7 +77,8 @@ addDefaults(config, {
max: 10,
idleTimeoutMillis: 10000,
maxTries: 3,
maxActiveRequests: 0
maxActiveRequests: 0,
timeout: 60000
},
postgresReadOnly: {
enabled: false,