Stop knex from thrashing idle connections

This commit is contained in:
Calvin Montgomery 2017-07-27 18:01:40 -07:00
parent 7bd9934e58
commit 107155a661

View file

@ -29,7 +29,8 @@ class Database {
},
pool: {
min: Config.get('mysql.pool-size'),
max: Config.get('mysql.pool-size')
max: Config.get('mysql.pool-size'),
refreshIdle: false
},
debug: !!process.env.KNEX_DEBUG
};