From 638458e2c173861bcbd975ef1d91c58bd271404c Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 7 Jul 2019 07:59:59 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20postgres=20redis=20cache=20=E3=81=AE=20o?= =?UTF-8?q?ption=20=E3=81=8C=E9=81=A9=E7=94=A8=E3=81=95=E3=82=8C=E3=81=AA?= =?UTF-8?q?=E3=81=84=20(#5114)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/postgre.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/db/postgre.ts b/src/db/postgre.ts index 94a19b06b..638d5720b 100644 --- a/src/db/postgre.ts +++ b/src/db/postgre.ts @@ -150,11 +150,9 @@ export function initDb(justBorrow = false, sync = false, log = false) { options: { host: config.redis.host, port: config.redis.port, - options: { - password: config.redis.pass, - prefix: config.redis.prefix, - db: config.redis.db || 0 - } + password: config.redis.pass, + prefix: config.redis.prefix, + db: config.redis.db || 0 } } : false, logging: log,