elastic / elastic-transport-js

Transport classes and utilities shared among Node.js Elastic client libraries
Apache License 2.0
4 stars 24 forks source link

Stop retrying by default after a request timeout #100

Closed JoshMock closed 1 month ago

JoshMock commented 1 month ago

Disables retrying requests on TimeoutError by default, exposing a new option retryOnTimeout for those who still wish to use the old behavior.

See https://github.com/elastic/elasticsearch-js/issues/2087.

JoshMock commented 1 month ago

@ezimuel The transport doesn't have its own changelog, other than on the releases page, but I'll make sure to document this functionality when I update the client to use this change.