From 40b5a0fe83b0b829a2b587e1feb40b933c11c7a5 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 1 Dec 2019 16:29:52 -0800 Subject: [PATCH] Upgrade knex --- package.json | 2 +- src/database.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 47010c8a..d8f21330 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "express-minify": "^1.0.0", "graceful-fs": "^4.1.2", "json-typecheck": "^0.1.3", - "knex": "^0.14.3", + "knex": "^0.20.3", "lodash": "^4.17.5", "morgan": "^1.6.1", "mysql": "^2.9.0", diff --git a/src/database.js b/src/database.js index 4655eb40..a61fa131 100644 --- a/src/database.js +++ b/src/database.js @@ -42,8 +42,7 @@ class Database { }, pool: { min: Config.get('mysql.pool-size'), - max: Config.get('mysql.pool-size'), - refreshIdle: false + max: Config.get('mysql.pool-size') }, debug: !!process.env.KNEX_DEBUG };