mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Add config for min
This commit is contained in:
parent
4650316067
commit
a860b89ef0
2 changed files with 4 additions and 1 deletions
|
@ -77,7 +77,8 @@ addDefaults(config, {
|
|||
host: "",
|
||||
password: "",
|
||||
port: 5432,
|
||||
max: 150
|
||||
max: 150,
|
||||
min: 10
|
||||
},
|
||||
dumpDatabase: {
|
||||
enabled: false,
|
||||
|
|
|
@ -23,6 +23,7 @@ if (config.mysql) {
|
|||
password: config.postgres?.password,
|
||||
port: config.postgres?.port,
|
||||
max: config.postgres?.max,
|
||||
min: config.postgres?.min,
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -39,6 +40,7 @@ if (config.mysql) {
|
|||
password: config.postgres?.password,
|
||||
port: config.postgres?.port,
|
||||
max: config.postgres?.max,
|
||||
min: config.postgres?.min,
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue