Skip to content

Commit 6faa69a

Browse files
author
Nils Lindemann
committed
Do not reconnect
It will anyway not fully work when the server gets restarted, unless the user reloads the page.
1 parent 3ae4d01 commit 6faa69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/WebSocket/UserServerCounter.mint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ component UserServerCounter {
2626
WebSocket.open(
2727
{
2828
url: "ws://localhost:6789/",
29-
reconnectOnClose: true,
29+
reconnectOnClose: false,
3030
onOpen: (w : WebSocket) { next { isReady: true } },
3131
onClose: () { next { isReady: false } },
3232
onError: () { next { isReady: false } },

0 commit comments

Comments
 (0)