Update init.js

Comment out extra logger.debug() used during dev.
This commit is contained in:
hellcatz 2017-05-07 09:58:15 -07:00 committed by GitHub
parent d233ffcb0d
commit 8c94daec98
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ var spawnPoolWorkers = function(){
if (timeChangeSec < 600) {
// loyal miner keeps mining :)
redisCommands.push(['hincrbyfloat', msg.coin + ':shares:timesCurrent', workerAddress, timeChangeSec]);
logger.debug('PPLNT', msg.coin, 'Thread '+msg.thread, workerAddress+':{totalTimeSec:'+timeChangeTotal+', timeChangeSec:'+timeChangeSec+'}');
//logger.debug('PPLNT', msg.coin, 'Thread '+msg.thread, workerAddress+':{totalTimeSec:'+timeChangeTotal+', timeChangeSec:'+timeChangeSec+'}');
connection.multi(redisCommands).exec(function(err, replies){
if (err)
logger.error('PPLNT', msg.coin, 'Thread '+msg.thread, 'Error with time share processor call to redis ' + JSON.stringify(err));