mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-15 10:34:43 -05:00
Remove unused pool timeout configuration options
This commit is contained in:
@@ -19,12 +19,6 @@ export const pool =
|
|||||||
ssl: env.NODE_ENV === "production" ? { rejectUnauthorized: false } : false,
|
ssl: env.NODE_ENV === "production" ? { rejectUnauthorized: false } : false,
|
||||||
max: 20,
|
max: 20,
|
||||||
idleTimeoutMillis: 30000,
|
idleTimeoutMillis: 30000,
|
||||||
connectionTimeoutMillis: 10000,
|
|
||||||
acquireTimeoutMillis: 10000,
|
|
||||||
createTimeoutMillis: 10000,
|
|
||||||
destroyTimeoutMillis: 5000,
|
|
||||||
reapIntervalMillis: 1000,
|
|
||||||
createRetryIntervalMillis: 200,
|
|
||||||
});
|
});
|
||||||
if (env.NODE_ENV !== "production") globalForDb.pool = pool;
|
if (env.NODE_ENV !== "production") globalForDb.pool = pool;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user