mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Add max connections and idle timeout
This commit is contained in:
parent
4f637daeaa
commit
525a23abfb
1 changed files with 6 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue