change pool num

This commit is contained in:
Jay 2018-08-25 21:13:36 +08:00
parent c202e83c6a
commit 2231c2f8e9

View File

@ -6,7 +6,7 @@ const pool = new pg.Pool({
password: config.database.pass || null, password: config.database.pass || null,
host: config.database.host, host: config.database.host,
port: config.database.port, port: config.database.port,
max: 100, max: 20,
database: config.database.dbname database: config.database.dbname
}) })