mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-13 19:22:05 +00:00
Stop knex from thrashing idle connections
This commit is contained in:
parent
7bd9934e58
commit
107155a661
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue