mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-11 14:07:09 +03:00
Add config for min
This commit is contained in:
@@ -77,7 +77,8 @@ addDefaults(config, {
|
|||||||
host: "",
|
host: "",
|
||||||
password: "",
|
password: "",
|
||||||
port: 5432,
|
port: 5432,
|
||||||
max: 150
|
max: 150,
|
||||||
|
min: 10
|
||||||
},
|
},
|
||||||
dumpDatabase: {
|
dumpDatabase: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ if (config.mysql) {
|
|||||||
password: config.postgres?.password,
|
password: config.postgres?.password,
|
||||||
port: config.postgres?.port,
|
port: config.postgres?.port,
|
||||||
max: config.postgres?.max,
|
max: config.postgres?.max,
|
||||||
|
min: config.postgres?.min,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -39,6 +40,7 @@ if (config.mysql) {
|
|||||||
password: config.postgres?.password,
|
password: config.postgres?.password,
|
||||||
port: config.postgres?.port,
|
port: config.postgres?.port,
|
||||||
max: config.postgres?.max,
|
max: config.postgres?.max,
|
||||||
|
min: config.postgres?.min,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user