fix(pool): Increase default connection timeout

- Servers taking a while to start may experience a timeout; this should alleviate the issue
This commit is contained in:
Linden committed 2021-09-27 10:13:11 +10:00
1 parent 39c485644d
commit 681b39692a
1 file changed
+1
+1
View File
@@ -9,6 +9,7 @@ export const pool = createPool({
password: config.password || '',
database: config.endpoint || 'es_extended',
charset: 'utf8mb4_unicode_ci',
connectTimeout: 30000,
...config.options,
namedPlaceholders: true,
typeCast: parseTypes,