Improve MariaDB's connection (#4728)

This commit is contained in:
Louis Lam 2024-05-19 22:46:22 +08:00 committed by GitHub
parent 237a6e8da9
commit 6bfb1be71a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,9 +209,9 @@ class Database {
let config = {};
let mariadbPoolConfig = {
afterCreate: function (conn, done) {
}
min: 0,
max: 10,
idleTimeoutMillis: 30000,
};
log.info("db", `Database Type: ${dbConfig.type}`);