mirror of
https://github.com/Cameri/nostream.git
synced 2025-06-28 17:40:47 +02:00
fix: disable propagateCreateError
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
This commit is contained in:
parent
a7b02fc5c9
commit
792d45d402
@ -18,8 +18,9 @@ const createDbConfig = (): Knex.Config => ({
|
|||||||
min: process.env.DB_MIN_POOL_SIZE ? Number(process.env.DB_MIN_POOL_SIZE) : 0,
|
min: process.env.DB_MIN_POOL_SIZE ? Number(process.env.DB_MIN_POOL_SIZE) : 0,
|
||||||
max: process.env.DB_MAX_POOL_SIZE ? Number(process.env.DB_MAX_POOL_SIZE) : 3,
|
max: process.env.DB_MAX_POOL_SIZE ? Number(process.env.DB_MAX_POOL_SIZE) : 3,
|
||||||
idleTimeoutMillis: 10000,
|
idleTimeoutMillis: 10000,
|
||||||
|
propagateCreateError: false,
|
||||||
},
|
},
|
||||||
acquireConnectionTimeout: 2000,
|
acquireConnectionTimeout: 30000,
|
||||||
})
|
})
|
||||||
|
|
||||||
let client: Knex
|
let client: Knex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user