aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/faucet/faucet.html
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-17 01:39:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-04-17 01:39:42 +0800
commit80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3 (patch)
treecef62145cf982c37ff54779123f003370649ddb3 /cmd/faucet/faucet.html
parent03dffe3efdde4fd0d849b9523249d0ad42037dce (diff)
downloadgo-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.tar
go-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.tar.gz
go-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.tar.bz2
go-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.tar.lz
go-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.tar.xz
go-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.tar.zst
go-tangerine-80e74fc1e09ccc3cf48a65fd89d2d872dc68fda3.zip
cmd/faucet: fix websocket double close/reopen
Diffstat (limited to 'cmd/faucet/faucet.html')
-rw-r--r--cmd/faucet/faucet.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/faucet/faucet.html b/cmd/faucet/faucet.html
index 39fcf77fe..fa715560f 100644
--- a/cmd/faucet/faucet.html
+++ b/cmd/faucet/faucet.html
@@ -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();