Skip to content

Commit 792d45d

Browse files
committed
fix: disable propagateCreateError
Signed-off-by: Ricardo Arturo Cabral Mejía <[email protected]>
1 parent a7b02fc commit 792d45d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/database/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ const createDbConfig = (): Knex.Config => ({
1818
min: process.env.DB_MIN_POOL_SIZE ? Number(process.env.DB_MIN_POOL_SIZE) : 0,
1919
max: process.env.DB_MAX_POOL_SIZE ? Number(process.env.DB_MAX_POOL_SIZE) : 3,
2020
idleTimeoutMillis: 10000,
21+
propagateCreateError: false,
2122
},
22-
acquireConnectionTimeout: 2000,
23+
acquireConnectionTimeout: 30000,
2324
})
2425

2526
let client: Knex

0 commit comments

Comments
 (0)