Skip to content

[9.3] Increase timeout for inference calls#260422

Merged
pgayvallet merged 1 commit intoelastic:9.3from
pgayvallet:backport/9.3/inference-timeout
Mar 31, 2026
Merged

[9.3] Increase timeout for inference calls#260422
pgayvallet merged 1 commit intoelastic:9.3from
pgayvallet:backport/9.3/inference-timeout

Conversation

@pgayvallet
Copy link
Copy Markdown
Contributor

@pgayvallet pgayvallet commented Mar 31, 2026

Summary

Backports the stack_connectors changes from #260267 and #260382 to the 9.3 branch.

  • Adds querystring: { timeout: '180s' } to the ES inference chat_completion transport request
  • Adds requestTimeout: 180_000 to the transport request options

The inference plugin changes from those PRs are not included as that code doesn't exist on 9.3.

Test plan

  • Unit tests pass (inference.test.ts)

@pgayvallet pgayvallet added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Mar 31, 2026
Backports the stack_connectors changes from elastic#260267 and elastic#260382 to the
9.3 branch. Adds a 180s query-level timeout and 180s requestTimeout to
the ES inference chat_completion transport request.
@pgayvallet pgayvallet force-pushed the backport/9.3/inference-timeout branch from 87dedad to 351989d Compare March 31, 2026 10:10
@pgayvallet pgayvallet enabled auto-merge (squash) March 31, 2026 10:12
@ashatova ashatova self-requested a review March 31, 2026 10:51
@pgayvallet pgayvallet merged commit 9c5d52e into elastic:9.3 Mar 31, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants