parent
10f237be95
commit
79cbf0888c
|
@ -24,7 +24,12 @@ module.exports = (server: http.Server) => {
|
||||||
|
|
||||||
// Connect to Redis
|
// Connect to Redis
|
||||||
const subscriber = redis.createClient(
|
const subscriber = redis.createClient(
|
||||||
config.redis.port, config.redis.host);
|
config.redis.port,
|
||||||
|
config.redis.host,
|
||||||
|
{
|
||||||
|
password: config.redis.pass
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
subscriber.subscribe(config.host);
|
subscriber.subscribe(config.host);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue