Skip to content
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

implement some basic guards on our /search endpoint #16812

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

ewdurbin
Copy link
Member

  • Move OpenSearch client timeout from 2000ms to 500ms
  • Add a simple rate limiter to the endpoint by client ip

- Move timeout from 2000ms to 500ms
- Add a simple rate limiter to the endpoint by client ip
@ewdurbin ewdurbin requested a review from a team as a code owner September 30, 2024 14:39
warehouse/views.py Outdated Show resolved Hide resolved
@ewdurbin ewdurbin merged commit 126ac91 into main Sep 30, 2024
18 checks passed
@ewdurbin ewdurbin deleted the search_guards branch September 30, 2024 15:04
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