-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up ScopedRateThrottle for endpoint-specific rate limits (#3581)
* fix: Update node and CI workflows - Update node version to latest LTS - Copy/paste pyjs dockerfile - temporarily ignore optional deps - Pytest no longer on PATH - Ignore tsc error - Remove coverage step - suppress eslint errors * Set up ScopedRateThrottle for endpoint-specific rate limits PR #3544 disabled ratelimiting for AdminAPI views. This change improves control over rate limits and helps prevent over-throttling. - Removed global throttles (`AnonRateThrottle`, `UserRateThrottle`) - Added `ScopedRateThrottle` to control rate limits per endpoint - Defined custom rate to protect AdminAPI endpoints from DoS @W-17141510
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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