mirror of https://github.com/calzoneman/sync.git
Stop knex from thrashing idle connections
This commit is contained in:
parent
7bd9934e58
commit
107155a661
|
@ -29,7 +29,8 @@ class Database {
|
||||||
},
|
},
|
||||||
pool: {
|
pool: {
|
||||||
min: Config.get('mysql.pool-size'),
|
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
|
debug: !!process.env.KNEX_DEBUG
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue