removed unnecessary console.logs

This commit is contained in:
cubedro 2015-03-14 19:59:31 +02:00
parent 714ef1ce49
commit b155bcca5a
2 changed files with 4 additions and 4 deletions

View File

@ -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();
});

View File

@ -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":