Upgrade knex

This commit is contained in:
Calvin Montgomery 2019-12-01 16:29:52 -08:00
parent 4d3c90f5ee
commit 40b5a0fe83
2 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,7 @@
"express-minify": "^1.0.0", "express-minify": "^1.0.0",
"graceful-fs": "^4.1.2", "graceful-fs": "^4.1.2",
"json-typecheck": "^0.1.3", "json-typecheck": "^0.1.3",
"knex": "^0.14.3", "knex": "^0.20.3",
"lodash": "^4.17.5", "lodash": "^4.17.5",
"morgan": "^1.6.1", "morgan": "^1.6.1",
"mysql": "^2.9.0", "mysql": "^2.9.0",

View File

@ -42,8 +42,7 @@ 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
}; };