-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: rate limit admin endpoints #2703
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Ephemeral Environment Deploying☁️ https://app.uffizzi.com/github.com/Flagsmith/flagsmith/pull/2703 ⚙️ Updating now by workflow run 6556166072. What is Uffizzi? Learn more! |
Hmm... yeah, I can't work out what's going on here, but if I add a breakpoint here, I can see that the the throttle rate for the
|
Ah, it's because our tests are not stateless! By setting this value here, all subsequent tests receive that value. |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2703 +/- ##
==========================================
+ Coverage 95.47% 95.60% +0.13%
==========================================
Files 986 1009 +23
Lines 27709 28904 +1195
==========================================
+ Hits 26454 27634 +1180
- Misses 1255 1270 +15
☔ View full report in Codecov by Sentry. |
TODO
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingChanges
Rate limit admin endpoints
How did you test this code?
Adds unit test case