Improve MariaDB's connection (#4728)

pull/4773/head
Louis Lam 6 months ago committed by GitHub
parent 237a6e8da9
commit 6bfb1be71a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save