Add max connections and idle timeout

This commit is contained in:
Ajay 2022-08-19 18:45:02 -04:00
parent 4f637daeaa
commit 525a23abfb

View file

@ -79,7 +79,9 @@ addDefaults(config, {
user: "",
host: "",
password: "",
port: 5432
port: 5432,
max: 10,
idleTimeoutMillis: 10000
},
postgresReadOnly: {
enabled: false,
@ -88,7 +90,9 @@ addDefaults(config, {
host: "",
password: "",
port: 5432,
readTimeout: 250
readTimeout: 250,
max: 10,
idleTimeoutMillis: 10000
},
dumpDatabase: {
enabled: false,