mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
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:
1 parent
39c485644d
commit
681b39692a
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user