summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-rw-r--r--src/db/postgre.ts8
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,