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

Fix node_pool_class override #2581

Merged
merged 2 commits into from
May 31, 2024
Merged

Fix node_pool_class override #2581

merged 2 commits into from
May 31, 2024

Conversation

tallakh
Copy link
Contributor

@tallakh tallakh commented May 29, 2024

Its currently not working to submit a custom node_pool_class when creating a AsyncElasticsearch/Elasticsearch client. This PR fixes this.

Fixes #2578

Copy link

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@pquentin
Copy link
Member

Thanks! I've added a test. Does that look good to you? Are you OK with me reusing your NoTimeoutConnectionPool?

@pquentin
Copy link
Member

buildkite test this please

@tallakh
Copy link
Contributor Author

tallakh commented May 31, 2024

Thanks! I've added a test. Does that look good to you? Are you OK with me reusing your NoTimeoutConnectionPool?

Sure, no problem! And thanks for adding the tests, should have taken the time to do it myself. This looks good now 👍

@pquentin pquentin changed the title Fixes a typo in node_pool_class override Fixes node_pool_class override May 31, 2024
@pquentin pquentin changed the title Fixes node_pool_class override Fix node_pool_class override May 31, 2024
@pquentin pquentin merged commit 7e9ea0d into elastic:main May 31, 2024
11 checks passed
github-actions bot pushed a commit that referenced this pull request Jun 5, 2024
Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
(cherry picked from commit 7e9ea0d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting custom node_pool_class does not work and seems to be a typo
3 participants