Release 0.37.2 - #34
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A patch release with one change: the messaging stream now connects immediately
instead of a heartbeat later.
The live stream took up to a minute to open
If you run Trackarr behind a CDN or a buffering proxy,
/messaging/eventstook about a minute to connect on every page load. It always worked — chat and
notifications arrived once it was up — it was just late, every single time.
The relay sent its response headers at once and then no body byte at all
until its first keep-alive ping, thirty seconds later. A flush with an empty
body produces no chunk to forward, so anything in the path that waits for body
bytes before releasing a response waited. Reported from a Cloudflare-fronted
install whose network trace showed 16 bytes of content on that request:
exactly two pings.
The stream now writes a priming comment the moment the headers go out.
Measured on the first byte of body, before and after:
30 121 ms is the heartbeat interval to the millisecond.
The stream also now states its own reconnect delay (
retry: 2000) instead ofleaving the browser on a default that differs between them.
Nothing else changed — no behaviour, no data, no configuration, and the
heartbeat interval is untouched. If your reverse proxy already streamed this
endpoint without buffering, you would never have seen the delay and nothing
changes for you.
Upgrading
Swap the relay image. No migrations, no configuration changes. Reverse-proxy
settings need no adjustment: this was ours, not yours.
🤖 Generated with Claude Code