Fix: postgres redis cache の option が適用されない (#5114)

This commit is contained in:
MeiMei 2019-07-07 07:59:59 +09:00 committed by syuilo
parent 638060f775
commit a4996bd034

View File

@ -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,