mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 03:26:59 +03:00
Add config for min
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user