From 8a13a30f8a214c336a4c6257732d928f3284706b Mon Sep 17 00:00:00 2001 From: Lorenzo Gigli Date: Mon, 1 Aug 2022 14:40:53 +0200 Subject: [PATCH] fix: set the knex connection pool from 0 to 10 Fixes #11 --- src/persistence/persistence.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/persistence/persistence.module.ts b/src/persistence/persistence.module.ts index 9ab641b..02dfb50 100644 --- a/src/persistence/persistence.module.ts +++ b/src/persistence/persistence.module.ts @@ -21,6 +21,7 @@ import { UserRepository } from './user.repository'; user: config.dbUser, password: config.dbPassword, database: config.dbDatabase, + pool: { min: 0, max: 10 }, }, }, }),