Update poolWorker.js

This commit is contained in:
hellcatz 2017-09-04 15:16:44 -07:00 committed by GitHub
parent 7233c9b726
commit f192dd39c4
1 changed files with 2 additions and 3 deletions

View File

@ -19,9 +19,9 @@ module.exports = function(logger){
var proxySwitch = {};
var redisClient = redis.createClient(portalConfig.redis.port, portalConfig.redis.host);
// redis auth if enabled
if (portalConfig.redis.password) {
redisClient.auth(portalConfig.redis.password);
}
//Handle messages from master process sent via IPC
process.on('message', function(message) {
switch(message.type){
@ -143,7 +143,6 @@ module.exports = function(logger){
authCallback(isValid);
});
}
};
handlers.share = function(isValidShare, isValidBlock, data){