maxing out pool

This commit is contained in:
bill bittner 2017-08-26 04:31:16 -07:00
parent 39da99a24f
commit 74c7f685ac

View file

@ -9,6 +9,12 @@ const logger = require('winston');
const connectionUri = config.get('Database.MySqlConnectionUri');
const sequelize = new Sequelize(connectionUri, {
logging: false,
pool : {
max : 5,
min : 0,
idle : 20000,
acquire: 20000,
},
});
sequelize