Repository navigation
Conversation
Rate-limit namespace IDs are account-scoped. 1001 was also bound by mailflare and wang-fei-voice-studio, and 1002 by mailflare-nomixhq, so their counters and limit configs shared a space. Production moves to 52001 and staging to 52002; no other Worker in the account uses either. Counters reset once on deploy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
What
apps/backend/wrangler.jsoncmovesRATE_LIMITERfrom namespace1001to52001(production) and from1002to52002(staging).Why
Rate-limit
namespace_ids are account-scoped. An inventory of every Worker's rate-limit bindings in the Cloudflare account (2026-10-09) found:1001:understudy-backend:RATE_LIMITER(300/60),mailflare:LOGIN_RATE_LIMIT(20/60) andwang-fei-voice-studio:VOICE_START_LIMITER(10/60)1002:understudy-backend-staging:RATE_LIMITER(300/60) andmailflare-nomixhq:LOGIN_RATE_LIMIT(20/60)Workers that share a namespace share its counter space while declaring different limits. Keys don't overlap today, since understudy hashes its keys with
telemetryPseudonymand mailflare usesscope:ip, so the conflict is latent. No other binding in the account uses52001or52002. mailflare moves to51001/51002separately.Effect
Verification
wrangler.jsoncstill parses, and the diff touches only the twonamespace_idvalues.rgfor1001/1002/namespace_idfound only this file and an unrelated doc).🤖 Generated with Claude Code