about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authorHayato IZUMI <h-izumi@9uelle.jp>2017-05-17 22:36:34 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-17 15:36:34 +0200
commit5b3c7572caac0da640b54f21503b9a02277def5b (patch)
treecca4b0cc829824cc7c3835e4d183d7046768abde /streaming
parente89e4355eb2ab74f7ec93313508c3afb72539855 (diff)
Use REDIS_DB in streaming (#3094)
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js1
1 files changed, 1 insertions, 0 deletions
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
   }