We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7b02fc commit 792d45dCopy full SHA for 792d45d
src/database/client.ts
@@ -18,8 +18,9 @@ const createDbConfig = (): Knex.Config => ({
18
min: process.env.DB_MIN_POOL_SIZE ? Number(process.env.DB_MIN_POOL_SIZE) : 0,
19
max: process.env.DB_MAX_POOL_SIZE ? Number(process.env.DB_MAX_POOL_SIZE) : 3,
20
idleTimeoutMillis: 10000,
21
+ propagateCreateError: false,
22
},
- acquireConnectionTimeout: 2000,
23
+ acquireConnectionTimeout: 30000,
24
})
25
26
let client: Knex
0 commit comments