Skip to content

Use typhoeus adapter for Elasticsearch client

John Mason requested to merge fix-faraday-timeout-errors into master

What does this MR do and why?

We get Faraday connection issues because the client is unable to keep the connection open. Adding the typhoeus adapter will allow our Elastic client to have a "keep-alive" connection, as that is not included by default.

From Elastic's documentation:

Keep in mind, that for optimal performance, you should use an HTTP library which supports persistent ("keep-alive") HTTP connections.

This is behind the feature flag: use_typhoeus_elasticsearch_adapter

Related to: #346288 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by John Mason

Merge request reports