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

Add timeout handling for external routing group selector #580

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Chaho12
Copy link
Member

@Chaho12 Chaho12 commented Dec 31, 2024

Description

Adds config options for users to change timeouts when making external routing requests.

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

* Add timeout handling for external routing group selector. ([#579](https://github.com/trinodb/trino-gateway/pull/580))

@cla-bot cla-bot bot added the cla-signed label Dec 31, 2024
Copy link
Contributor

@willmostly willmostly left a comment

Choose a reason for hiding this comment

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

This explicit configuration can be avoided by injecting the airlift HttpClient. See ProxyRequestHandler as an example. This approach will allow configuration of any supported HttpClient options and be consistent with the proxy and monitor configs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants