Skip to content

[IMP] connector_elasticsearch: timeout and retries#208

Merged
OCA-git-bot merged 1 commit into
OCA:16.0from
camptocamp:retry-connection-read-timeout
May 28, 2025
Merged

[IMP] connector_elasticsearch: timeout and retries#208
OCA-git-bot merged 1 commit into
OCA:16.0from
camptocamp:retry-connection-read-timeout

Conversation

@gurneyalex
Copy link
Copy Markdown
Member

Add configuration options on the elasticsearch backend model to support passing the timeout / max_retries / retry_on_timeout argument to the Elasticsearch constructor.

@gurneyalex gurneyalex force-pushed the retry-connection-read-timeout branch 2 times, most recently from 06c3f8d to 6fb0bcd Compare May 27, 2025 07:12
@gurneyalex gurneyalex added this to the 16.0 milestone May 27, 2025
@gurneyalex gurneyalex marked this pull request as draft May 27, 2025 07:14
Add configuration options on the elasticsearch backend model to support
passing the timeout / max_retries / retry_on_timeout argument to the
Elasticsearch constructor.
@gurneyalex gurneyalex force-pushed the retry-connection-read-timeout branch from 6fb0bcd to 609faa4 Compare May 27, 2025 07:16
@gurneyalex gurneyalex marked this pull request as ready for review May 27, 2025 07:19
@simahawk
Copy link
Copy Markdown
Contributor

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-208-by-simahawk-bump-minor, awaiting test results.

es_max_retries = fields.Integer(
string="Elasticsearch max retries",
default=0,
help="Number of retries, when an occurs. "
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Typo here

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

oups

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@OCA-git-bot OCA-git-bot merged commit e88e82a into OCA:16.0 May 28, 2025
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at e227abc. Thanks a lot for contributing to OCA. ❤️

gurneyalex added a commit to camptocamp/search-engine that referenced this pull request Jun 16, 2025
PR OCA#208 introduced configurable timeouts and retries on the ES backend.
However the implementation only added this feature for auth_type api_key
and not for HTTP simple auth.

This pull request adds the missing support.
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.

5 participants