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

fix http client configuration #29

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Conversation

TymKh
Copy link
Collaborator

@TymKh TymKh commented Aug 5, 2024

Previously WithHttpClient option would be always overwritten. Now, timeout client is used by default but if user is sophisticated enough to configure http client - this option will be preferred. Reason is that golang default http client is suboptimal for multiple performance considerations (such as reusing httpclients when heavily interacting with the same server)

@metachris metachris merged commit 19287ab into main Aug 5, 2024
4 checks passed
@metachris metachris deleted the fix-httpclient-configuration branch August 5, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants