Merge pull request #16 from cubedro/develop
removed unnecessary console.logs
This commit is contained in:
commit
9111e50815
@ -303,7 +303,7 @@ Node.prototype.changed = function()
|
|||||||
|
|
||||||
if(this._tries - this._lastSent > 5)
|
if(this._tries - this._lastSent > 5)
|
||||||
{
|
{
|
||||||
console.log('force send');
|
// console.log('force send');
|
||||||
this._lastSent = this._tries;
|
this._lastSent = this._tries;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -341,13 +341,13 @@ Node.prototype.setWatches = function()
|
|||||||
|
|
||||||
this.pendingWatch = web3.eth.watch('pending');
|
this.pendingWatch = web3.eth.watch('pending');
|
||||||
this.pendingWatch.changed(function(log) {
|
this.pendingWatch.changed(function(log) {
|
||||||
console.log('pending changed');
|
// console.log('pending changed');
|
||||||
self.stats.pending = parseInt(log.number);
|
self.stats.pending = parseInt(log.number);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.chainWatch = web3.eth.watch('chain');
|
this.chainWatch = web3.eth.watch('chain');
|
||||||
this.chainWatch.messages(function(log) {
|
this.chainWatch.messages(function(log) {
|
||||||
console.log('block changed');
|
// console.log('block changed');
|
||||||
self.update();
|
self.update();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"error_file" : "/home/ubuntu/logs/node-app-err.log",
|
"error_file" : "/home/ubuntu/logs/node-app-err.log",
|
||||||
"merge_logs" : true,
|
"merge_logs" : true,
|
||||||
"watch" : false,
|
"watch" : false,
|
||||||
"cron_restart" : "0 0 * * *",
|
// "cron_restart" : "0 0 * * *",
|
||||||
"exec_interpreter" : "node",
|
"exec_interpreter" : "node",
|
||||||
"exec_mode" : "fork_mode",
|
"exec_mode" : "fork_mode",
|
||||||
"env":
|
"env":
|
||||||
|
Loading…
Reference in New Issue
Block a user