From 79cbf0888c16439674d01dfadb2b093d388eb7a5 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Mon, 20 Jan 2020 01:51:18 +0900 Subject: [PATCH] =?UTF-8?q?Redis=20subscriber=E3=81=A7=E8=AA=8D=E8=A8=BC?= =?UTF-8?q?=E3=81=8C=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20Fix=20#5727=20(#5730)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/streaming.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/server/api/streaming.ts b/src/server/api/streaming.ts index ee71f4604c..6c6037db25 100644 --- a/src/server/api/streaming.ts +++ b/src/server/api/streaming.ts @@ -24,7 +24,12 @@ module.exports = (server: http.Server) => { // Connect to Redis const subscriber = redis.createClient( - config.redis.port, config.redis.host); + config.redis.port, + config.redis.host, + { + password: config.redis.pass + } + ); subscriber.subscribe(config.host);