Add explicit pool configuration to uplink

This commit is contained in:
R Tyler Croy 2019-06-22 08:24:24 -07:00
parent 7796e3a265
commit 4e57668226
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ const db : any = {};
const sequelize = new Sequelize(config.url, {
logging: !!process.env.DB_TRACING,
dialect: 'postgres',
pool: {
max: 10,
min: 1,
acquire: 30000,
idle: 10000
},
});
fs