mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 10:46:28 +00:00
update
This commit is contained in:
+2
-2
@@ -73,7 +73,7 @@ module.exports = {
|
|||||||
max: 100,
|
max: 100,
|
||||||
idleTimeoutMillis: 30000, // ← Contoh: 30 detik idle timeout
|
idleTimeoutMillis: 30000, // ← Contoh: 30 detik idle timeout
|
||||||
acquireTimeoutMillis: 20000, // Maksimal waktu tunggu koneksi dari pool
|
acquireTimeoutMillis: 20000, // Maksimal waktu tunggu koneksi dari pool
|
||||||
maxLifetimeMillis: 300000 // maksimal umur koneksi: 5 menit (300.000 ms)
|
// maxLifetimeMillis: 300000 // maksimal umur koneksi: 5 menit (300.000 ms)
|
||||||
},
|
},
|
||||||
migrations: {
|
migrations: {
|
||||||
directory: './infrastructure/database/migrations',
|
directory: './infrastructure/database/migrations',
|
||||||
@@ -103,7 +103,7 @@ module.exports = {
|
|||||||
max: 100,
|
max: 100,
|
||||||
idleTimeoutMillis: 30000, // ← Contoh: 30 detik idle timeout
|
idleTimeoutMillis: 30000, // ← Contoh: 30 detik idle timeout
|
||||||
acquireTimeoutMillis: 20000, // Maksimal waktu tunggu koneksi dari pool
|
acquireTimeoutMillis: 20000, // Maksimal waktu tunggu koneksi dari pool
|
||||||
maxLifetimeMillis: 300000 // maksimal umur koneksi: 5 menit (300.000 ms)
|
// maxLifetimeMillis: 300000 // maksimal umur koneksi: 5 menit (300.000 ms)
|
||||||
},
|
},
|
||||||
migrations: {
|
migrations: {
|
||||||
directory: './infrastructure/database/migrations',
|
directory: './infrastructure/database/migrations',
|
||||||
|
|||||||
Reference in New Issue
Block a user