Close SSE connections when clients lag behind #79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/bb-90-sse-lag"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the broadcast receiver reports lag, end the SSE response so EventSource reconnects and clients can resync from a fresh snapshot. Document the reconnect behavior and cover lag termination with a focused regression test.
Verified with
cargo test --workspace,cargo clippy --workspace --all-targets -- -D warnings, andcargo run -p xtask -- check-docs. The frontend build was not run because this isolated worktree has no npm dependencies.Closes #77
Implementation is available in PR #79 at
d72d560409cf4fffb4429f65da0eea2288d9a42f. Local workspace tests, Clippy, andcheck-docspassed. Exact-head CI is pending and waiting to run; move this card back to TODO if CI fails.