From: Hayato IZUMI Date: Wed, 17 May 2017 13:36:34 +0000 (+0900) Subject: Use REDIS_DB in streaming (#3094) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=5b3c7572caac0da640b54f21503b9a02277def5b;p=mastodon.git Use REDIS_DB in streaming (#3094) --- diff --git a/streaming/index.js b/streaming/index.js index a9197624b..0fd545a41 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -92,6 +92,7 @@ if (cluster.isMaster) { const redisParams = { host: process.env.REDIS_HOST || '127.0.0.1', port: process.env.REDIS_PORT || 6379, + db: process.env.REDIS_DB || 0, password: process.env.REDIS_PASSWORD, url: process.env.REDIS_URL || null }