Skip to content

Use slow-api middleware for rate limiting#225

Open
shiv-tyagi wants to merge 4 commits intoArduPilot:mainfrom
shiv-tyagi:slow-api
Open

Use slow-api middleware for rate limiting#225
shiv-tyagi wants to merge 4 commits intoArduPilot:mainfrom
shiv-tyagi:slow-api

Conversation

@shiv-tyagi
Copy link
Member

@shiv-tyagi shiv-tyagi commented Feb 9, 2026

Swaps out our simple rate limiter for slowapi middleware to align with our recent FastAPI migration. The previous implementation was rigid and limited to build entries, while this switch enables granular, per-route control and cleaner configuration. This removes the legacy hacky logic and standardizes request limiting across the application.

This is running on custom-beta.ardupilot.org and looking good.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remove it - we can always get it back from the git history.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Removed.

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

Comments