mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-22 16:00:26 +01:00
Add db pools
This commit is contained in:
@@ -42,6 +42,11 @@ const databaseConfig: DatabaseConfig = {
|
||||
password: Env.get('MYSQL_PASSWORD', ''),
|
||||
database: Env.get('MYSQL_DB_NAME'),
|
||||
},
|
||||
pool: {
|
||||
max: 10,
|
||||
min: 1,
|
||||
idleTimeoutMillis: 30000,
|
||||
},
|
||||
healthCheck: true,
|
||||
debug: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user