diff --git a/lib/node.js b/lib/node.js index c825b9d..0a44738 100644 --- a/lib/node.js +++ b/lib/node.js @@ -303,7 +303,7 @@ Node.prototype.changed = function() if(this._tries - this._lastSent > 5) { - console.log('force send'); + // console.log('force send'); this._lastSent = this._tries; return true; @@ -341,13 +341,13 @@ Node.prototype.setWatches = function() this.pendingWatch = web3.eth.watch('pending'); this.pendingWatch.changed(function(log) { - console.log('pending changed'); + // console.log('pending changed'); self.stats.pending = parseInt(log.number); }); this.chainWatch = web3.eth.watch('chain'); this.chainWatch.messages(function(log) { - console.log('block changed'); + // console.log('block changed'); self.update(); }); diff --git a/processes.json b/processes.json index 2785a99..6c2bf39 100644 --- a/processes.json +++ b/processes.json @@ -21,7 +21,7 @@ "error_file" : "/home/ubuntu/logs/node-app-err.log", "merge_logs" : true, "watch" : false, - "cron_restart" : "0 0 * * *", + // "cron_restart" : "0 0 * * *", "exec_interpreter" : "node", "exec_mode" : "fork_mode", "env":