mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Improve MariaDB's connection (#4728)
This commit is contained in:
parent
237a6e8da9
commit
6bfb1be71a
1 changed files with 3 additions and 3 deletions
|
@ -209,9 +209,9 @@ class Database {
|
||||||
let config = {};
|
let config = {};
|
||||||
|
|
||||||
let mariadbPoolConfig = {
|
let mariadbPoolConfig = {
|
||||||
afterCreate: function (conn, done) {
|
min: 0,
|
||||||
|
max: 10,
|
||||||
}
|
idleTimeoutMillis: 30000,
|
||||||
};
|
};
|
||||||
|
|
||||||
log.info("db", `Database Type: ${dbConfig.type}`);
|
log.info("db", `Database Type: ${dbConfig.type}`);
|
||||||
|
|
Loading…
Reference in a new issue