mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 02:46:28 +00:00
Fix reconnection after close
This commit is contained in:
parent
b2713ff83f
commit
3907983ffe
@ -64,8 +64,7 @@ class RoboPool {
|
||||
});
|
||||
|
||||
connection.onClose(() => {
|
||||
console.log(`Disconnected from ${url}. Attempting to reconnect...`);
|
||||
setTimeout(connectRelay, 1000);
|
||||
console.log(`Disconnected from ${url}`);
|
||||
});
|
||||
|
||||
this.webSockets[url] = connection;
|
||||
|
Loading…
Reference in New Issue
Block a user