added send all stats on socket reconnect
This commit is contained in:
parent
cde1395482
commit
9b3eeb1295
@ -298,6 +298,10 @@ Node.prototype.setupSockets = function()
|
||||
{
|
||||
self._socket = true;
|
||||
console.success('wsc', 'Socket reconnected successfully after', opts.duration, 'ms');
|
||||
|
||||
self.getLatestBlock();
|
||||
self.getPending();
|
||||
self.getStats(true);
|
||||
})
|
||||
.on('reconnect timeout', function (err, opts)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user