fix: maintain connections pool (#8670)
This commit is contained in:
@@ -27,7 +27,7 @@ export function createPgConnection(options: Options) {
|
||||
pool: {
|
||||
// https://knexjs.org/guide/#pool
|
||||
...(pool ?? {}),
|
||||
min: (pool?.min as number) ?? 0,
|
||||
min: (pool?.min as number) ?? 2,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user