mirror of
https://github.com/RoboSats/robosats.git
synced 2025-09-13 00:56:22 +00:00
Fix reconnection after close
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user