Minor change in logging: does not log 'Share data and stats recorded' anymore
This commit is contained in:
parent
9f7031232b
commit
167be4baf0
|
@ -42,7 +42,6 @@ module.exports = function(logger, poolConfig){
|
||||||
|
|
||||||
this.handleShare = function(isValidShare, isValidBlock, shareData){
|
this.handleShare = function(isValidShare, isValidBlock, shareData){
|
||||||
|
|
||||||
|
|
||||||
var redisCommands = [];
|
var redisCommands = [];
|
||||||
|
|
||||||
if (isValidShare){
|
if (isValidShare){
|
||||||
|
@ -71,8 +70,8 @@ module.exports = function(logger, poolConfig){
|
||||||
connection.multi(redisCommands).exec(function(err, replies){
|
connection.multi(redisCommands).exec(function(err, replies){
|
||||||
if (err)
|
if (err)
|
||||||
logger.error(logSystem, logComponent, logSubCat, 'Error with share processor multi ' + JSON.stringify(err));
|
logger.error(logSystem, logComponent, logSubCat, 'Error with share processor multi ' + JSON.stringify(err));
|
||||||
else
|
//else
|
||||||
logger.debug(logSystem, logComponent, logSubCat, 'Share data and stats recorded');
|
//logger.debug(logSystem, logComponent, logSubCat, 'Share data and stats recorded');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue