mirror of https://github.com/BTCPrivate/z-nomp.git
Update poolWorker.js
This commit is contained in:
parent
7233c9b726
commit
f192dd39c4
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue