mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-01 21:49:02 +01:00
Use REDIS_DB in streaming (#3094)
This commit is contained in:
parent
e89e4355eb
commit
5b3c7572ca
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ if (cluster.isMaster) {
|
||||||
const redisParams = {
|
const redisParams = {
|
||||||
host: process.env.REDIS_HOST || '127.0.0.1',
|
host: process.env.REDIS_HOST || '127.0.0.1',
|
||||||
port: process.env.REDIS_PORT || 6379,
|
port: process.env.REDIS_PORT || 6379,
|
||||||
|
db: process.env.REDIS_DB || 0,
|
||||||
password: process.env.REDIS_PASSWORD,
|
password: process.env.REDIS_PASSWORD,
|
||||||
url: process.env.REDIS_URL || null
|
url: process.env.REDIS_URL || null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue