diff --git a/site/site.go b/site/site.go index 538d674..a39a491 100644 --- a/site/site.go +++ b/site/site.go @@ -399,7 +399,8 @@ function newSSE() { } eventSource.onerror = function (event) { console.error('An error occurred:', event); - setTimeout(newSSE, 1000) + eventSource.close(); + setTimeout(newSSE, 5000) }; } newSSE();`