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

Adds ELASTICSEARCH_TIMEOUT to all search clients #560

Merged

Conversation

mpaolino
Copy link
Contributor

@mpaolino mpaolino commented Jul 25, 2024

AWS-hosted environments can't use the custom Elasticsearch timeouts because when creating the search clients these are not receiving the timeout=settings.ELASTICSEARCH_TIMEOUT argument. This makes longer-running requests fail when they hit the default 10-second timeout.

@mpaolino
Copy link
Contributor Author

This small fix has been running in production against AWS OpenSearch with no issues. @toluaina sorry to ping you, but I can't request your review in the PR.

Copy link
Owner

@toluaina toluaina left a comment

Choose a reason for hiding this comment

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

looks good. thanks

@toluaina toluaina merged commit eccefa2 into toluaina:main Jul 30, 2024
2 checks passed
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