mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 03:51:09 +00:00
cmd/faucet: fix websocket double close/reopen
This commit is contained in:
parent
03dffe3efd
commit
80e74fc1e0
@ -136,7 +136,7 @@
|
||||
}
|
||||
}
|
||||
server.onclose = function() { setTimeout(reconnect, 3000); };
|
||||
server.onerror = function() { setTimeout(reconnect, 3000); };
|
||||
//server.onerror = function() { setTimeout(reconnect, 3000); };
|
||||
}
|
||||
// Establish a websocket connection to the API server
|
||||
reconnect();
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user