Skip to content

Conversation

@amCap1712
Copy link
Member

The ratelimit keys in the cache, include a global or scope prefix in the key name. At the decorator level, there is no prefix, and hence it would use the global prefix and end up overriding global ratelimit records for the requests made by the user in the current window. Thinking more of it, I don't think we need decorator level overrides. Scope isolation should be sufficient.

The ratelimit keys in the cache, include a global or scope prefix in the key name.
At the decorator level, there is no prefix, and hence it would use the global prefix
and end up overriding global ratelimit records for the requests made by the user in
the current window. Thinking more of it, I don't think we need decorator level overrides.
Scope isolation should be sufficient.
@amCap1712 amCap1712 requested a review from mayhem December 16, 2025 14:50
@amCap1712 amCap1712 merged commit 1f1327d into master Dec 16, 2025
1 check passed
@amCap1712 amCap1712 deleted the ratelimit branch December 16, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants