From 7575b514b4ba4f4d8aa421e10b01f1c96db808e0 Mon Sep 17 00:00:00 2001 From: Olojakpoke Daniel Date: Sun, 10 Jul 2022 22:43:35 +0100 Subject: [PATCH] fix: reduce knexfile max pool --- knexfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/knexfile.js b/knexfile.js index 53cb717..29669fd 100644 --- a/knexfile.js +++ b/knexfile.js @@ -16,7 +16,7 @@ module.exports = { searchPath: [process.env.DATABASE_SCHEMA, 'public'], pool: { min: 1, - max: 100, + max: 10, }, seeds: { directory: path.join(__dirname, 'database', 'seeds'), @@ -29,7 +29,7 @@ module.exports = { searchPath: [process.env.DATABASE_SCHEMA, 'public'], pool: { min: 1, - max: 100, + max: 10, }, seeds: { directory: path.join(__dirname, 'database', 'seeds'),