Repository navigation
Keep the read API out of the filtered-listing rate rule - #223
Closed
HarryCordewener wants to merge 1 commit into
Closed
HarryCordewener wants to merge 1 commit into
HarryCordewener wants to merge 1 commit into
Conversation
The rule's locale prefix [a-z]{2,3} matched "api", so every filtered
/api/games request shared the /games pages' per-address and site-wide
caps and was refused with 429 whenever filtered pages were throttled.
The router now leaves /api/ out, as deploy.md describes it, and the API
guide drops the rate it had published from that rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7SRFvG48gttX6RQhfE
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.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Rqqt7SRFvG48gttX6RQhfE
What
The incident rate rule for filtered
/gameslistings matches/{locale}/gameswith a[a-z]{2,3}locale, soapicounts as a locale and/api/games?codebase=…is throttled with it. This leaves/api/out of that router.deploy/traefik/incident-limits.yml: the router rule adds!PathPrefix(`/api/`).ApiGuide.razor: drops the sentence about the API listing answering about two requests a second.docs/deploy.md: says the rule leaves out/api/and why.Why
Every filtered API request returns 429 at the moment, including the docs site's games page (Docs #302), which reads
/api/games?codebase=SharpMUSH&include=detailsfrom Netlify.Deploy
Traefik's dynamic files are not updated by Watchtower. After merging, pull the file on the host; Traefik reloads it without a restart.
Generated by Claude Code