maxing out pool
This commit is contained in:
parent
39da99a24f
commit
74c7f685ac
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue