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 to request config for external routing group selector #579

Open
Chaho12 opened this issue Dec 31, 2024 · 0 comments
Open

Add timeout to request config for external routing group selector #579

Chaho12 opened this issue Dec 31, 2024 · 0 comments

Comments

@Chaho12
Copy link
Member

Chaho12 commented Dec 31, 2024

We are using Airlift HttpClient's default setting to make requests, but in some cases, 5 min seems to be too long when making HTTP requests.
It would better for users to have options to change timeouts.

    private Duration requestTimeout = new Duration(5, MINUTES);
    private Duration idleTimeout = new Duration(1, MINUTES);

https://github.com/airlift/airlift/blob/master/http-client/src/main/java/io/airlift/http/client/HttpClientConfig.java#L69-L70

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

No branches or pull requests

1 participant