removed unnecessary console.logs
This commit is contained in:
parent
714ef1ce49
commit
b155bcca5a
@ -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();
|
||||
});
|
||||
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user