1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 22:38:42 +09:00

Use REDIS_DB in streaming (#3094)

This commit is contained in:
Hayato IZUMI 2017-05-17 22:36:34 +09:00 committed by Eugen Rochko
parent e89e4355eb
commit 5b3c7572ca

View File

@ -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
}