diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-07-07 07:59:59 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-07 07:59:59 +0900 |
| commit | 638458e2c173861bcbd975ef1d91c58bd271404c (patch) | |
| tree | fd4d27b57793c4c04bb922ff5c3f402f3f6c84f6 /src/db | |
| parent | Improve Page (diff) | |
| download | sharkey-638458e2c173861bcbd975ef1d91c58bd271404c.tar.gz sharkey-638458e2c173861bcbd975ef1d91c58bd271404c.tar.bz2 sharkey-638458e2c173861bcbd975ef1d91c58bd271404c.zip | |
Fix: postgres redis cache の option が適用されない (#5114)
Diffstat (limited to 'src/db')
| -rw-r--r-- | src/db/postgre.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/db/postgre.ts b/src/db/postgre.ts index 94a19b06be..638d5720b7 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, |