fix(beszel): address review findings for live streaming

- Skip toReversed() for live data (already chronological from buffer)
- Reset live buffer on systemId/integration change to avoid stale data
- Throw on unexpected SSE stream end so subscription emits error
- Delete unused time-period.ts config (duplicate of server-side config)
This commit is contained in:
Thomas Camlong committed 2026-06-15 15:15:06 +02:00
1 parent 7e46c71187
commit d13effdda0
4 files changed
+19 -23

No files matched your search

@@ -329,6 +329,9 @@ export class BeszelIntegration extends Integration {
processLine(line);
}
}
if (!signal.aborted) {
throw new Error("Beszel SSE stream ended unexpectedly");
}
} finally {
reader.cancel().catch(() => {});
}