Repository navigation
About: reduce version-check cache TTL 10m -> 1m (0.23.1) - #59
Merged
Merged
Conversation
Aligns the Docker Hub version-check cache with the About page's 60s poll so a newly-published release surfaces the "Update available" button within ~1-2 min instead of up to ~10. Follow-up tune to WWT-134. The check still degrades gracefully to the last-known version if a long-open About page trips Docker Hub's anonymous pull rate limit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Follow-up tune to WWT-134. Reduces the Docker Hub version-check cache TTL from 10 min to 1 min so a newly-published release surfaces the About page's "Update available" button within ~1–2 min (aligned with the existing 60s frontend poll) instead of up to ~10.
Tradeoff: more frequent Docker Hub checks while the About page is open. If a long-open About page ever trips Docker Hub's anonymous pull rate limit, the check degrades gracefully to the last-known version (the cache keeps the last good value) — raise the TTL again if that becomes an issue.
No test changes needed — the cache tests pass explicit TTLs.
go test ./web,vet,buildpass.🤖 Generated with Claude Code