forked from mirror/misskey
Fix: postgres redis cache の option が適用されない (#5114)
This commit is contained in:
parent
bd8d7c3d0f
commit
638458e2c1
@ -150,12 +150,10 @@ 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
|
||||
}
|
||||
}
|
||||
} : false,
|
||||
logging: log,
|
||||
logger: log ? new MyCustomLogger() : undefined,
|
||||
|
Loading…
Reference in New Issue
Block a user