Update shareProcessor.js

This commit is contained in:
hellcatz 2017-09-04 15:24:43 -07:00 committed by GitHub
parent f192dd39c4
commit 9a4497323b
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ module.exports = function(logger, poolConfig){
var logSubCat = 'Thread ' + (parseInt(forkId) + 1);
var connection = redis.createClient(redisConfig.port, redisConfig.host);
// redis auth if needed
if (redisConfig.password) {
connection.auth(redisConfig.password);
}
connection.on('ready', function(){
logger.debug(logSystem, logComponent, logSubCat, 'Share processing setup with redis (' + redisConfig.host +
':' + redisConfig.port + ')');