mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 21:16:37 +00:00
cmd/faucet: fix websocket double close/reopen
This commit is contained in:
parent
03dffe3efd
commit
80e74fc1e0
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
server.onclose = function() { setTimeout(reconnect, 3000); };
|
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
|
// Establish a websocket connection to the API server
|
||||||
reconnect();
|
reconnect();
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue