diff options
| author | tv <tv@krebsco.de> | 2026-10-30 20:23:39 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-30 20:23:39 +0100 |
| commit | bf460a528b70f46ecd39f9311d85629d6b392b82 (patch) | |
| tree | 931934ac4d8ec43c222fc501faef179c7d499065 /src | |
| parent | 152a78a3dfa501423d23fe3f600b5d6d0808838f (diff) | |
dashboard: let reconnecting pulse, too
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/dashboard/dashboard.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index 0c03ebf..870b0df 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -878,6 +878,8 @@ function connect() { setTimeout(connect, 3000); }); events.addEventListener("error", () => { + // Each attempt that failed: a breath too, so it shows it keeps trying. + pulse(); live = false; if (events.readyState === EventSource.CLOSED) { // Given up (an HTTP error, e.g. the node is up but not serving the page yet). |
