Merge pull request #111 from cubedro/develop

Added timeout when checking web3 connection
This commit is contained in:
Marian OANCΞA 2015-05-07 20:26:47 +03:00
commit fc06a6282c
1 changed files with 2 additions and 2 deletions

View File

@ -149,10 +149,10 @@ Node.prototype.checkWeb3Connection = function()
{
console.error('Web3 connection attempt', chalk.cyan('#' + this._called++), 'failed');
process.nextTick(function ()
setTimeout(function ()
{
self.checkWeb3Connection();
});
}, 500);
}
}
}