adding redis password auth
This commit is contained in:
parent
1785519db3
commit
6bf70dfb20
|
@ -19,6 +19,8 @@ module.exports = function(logger){
|
|||
var proxySwitch = {};
|
||||
|
||||
var redisClient = redis.createClient(portalConfig.redis.port, portalConfig.redis.host);
|
||||
// redis auth if enabled
|
||||
redisClient.auth(portalConfig.redis.password);
|
||||
|
||||
//Handle messages from master process sent via IPC
|
||||
process.on('message', function(message) {
|
||||
|
|
Loading…
Reference in New Issue