change pool num

This commit is contained in:
Jay 2018-08-25 21:13:36 +08:00
parent c202e83c6a
commit 2231c2f8e9
1 changed files with 1 additions and 1 deletions

View File

@ -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
})