mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-12 14:37:17 +03:00
Add max connections and idle timeout
This commit is contained in:
@@ -79,7 +79,9 @@ addDefaults(config, {
|
|||||||
user: "",
|
user: "",
|
||||||
host: "",
|
host: "",
|
||||||
password: "",
|
password: "",
|
||||||
port: 5432
|
port: 5432,
|
||||||
|
max: 10,
|
||||||
|
idleTimeoutMillis: 10000
|
||||||
},
|
},
|
||||||
postgresReadOnly: {
|
postgresReadOnly: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
@@ -88,7 +90,9 @@ addDefaults(config, {
|
|||||||
host: "",
|
host: "",
|
||||||
password: "",
|
password: "",
|
||||||
port: 5432,
|
port: 5432,
|
||||||
readTimeout: 250
|
readTimeout: 250,
|
||||||
|
max: 10,
|
||||||
|
idleTimeoutMillis: 10000
|
||||||
},
|
},
|
||||||
dumpDatabase: {
|
dumpDatabase: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user