Redis prefixにホスト名を使用するように (Resolve #5639) (#5640)

This commit is contained in:
MeiMei
2019-12-15 03:34:11 +09:00
committed by syuilo
parent e9360ac892
commit 66165b1935
2 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,7 @@ export function initDb(justBorrow = false, sync = false, log = false) {
host: config.redis.host,
port: config.redis.port,
password: config.redis.pass,
prefix: config.redis.prefix,
prefix: `${config.redis.prefix}:query:`,
db: config.redis.db || 0
}
} : false,