From 9abdf54aff4265cff013c6518daa5617c6c45278 Mon Sep 17 00:00:00 2001 From: dholms Date: Tue, 5 Dec 2023 14:39:53 -0600 Subject: [PATCH] Fix typo in service entry --- services/bsky/api.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/services/bsky/api.js b/services/bsky/api.js index 8370c2b47d2..c159a632a82 100644 --- a/services/bsky/api.js +++ b/services/bsky/api.js @@ -79,17 +79,17 @@ const main = async () => { }) const redis = new Redis( - config.redisSentinelName + cfg.redisSentinelName ? { - sentinel: config.redisSentinelName, - hosts: config.redisSentinelHosts, - password: config.redisPassword, + sentinel: cfg.redisSentinelName, + hosts: cfg.redisSentinelHosts, + password: cfg.redisPassword, db: 1, commandTimeout: 500, } : { - host: config.redisHost, - password: config.redisPassword, + host: cfg.redisHost, + password: cfg.redisPassword, db: 1, commandTimeout: 500, },