Smarter pinging. Don't waster resources #3240

This commit is contained in:
Nicolas Gotchac
2016-11-17 19:20:58 +01:00
parent 868fdd68ab
commit 5fd66d2c97
2 changed files with 41 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ export default class Ws extends JsonRpcBase {
this._connecting = false;
if (this._autoConnect) {
this._connect();
setTimeout(() => this._connect(), 500);
}
}