From 2231c2f8e907876a902e020cb9dc05d1bec88a76 Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 25 Aug 2018 21:13:36 +0800 Subject: [PATCH] change pool num --- libs/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/database.js b/libs/database.js index c9fb2c3..cbbd3b3 100644 --- a/libs/database.js +++ b/libs/database.js @@ -6,7 +6,7 @@ const pool = new pg.Pool({ password: config.database.pass || null, host: config.database.host, port: config.database.port, - max: 100, + max: 20, database: config.database.dbname })