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

client: add DoCtx for fasthttp.Client #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zekker6
Copy link

@zekker6 zekker6 commented Aug 31, 2023

Add DoCtx to make it consistent with fasthttp.HostClient.
…nt items

Change default expiration of HostClient map to use MaxIdleConnDuration instead of hardcoded value of 1m. This will allow to get more control on clients eviction, for example for VictoriaMetrics/VictoriaMetrics#4931
@zekker6 zekker6 requested a review from valyala August 31, 2023 13:31
@zekker6
Copy link
Author

zekker6 commented Dec 5, 2023

@valyala Friendly ping about this PR.

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.

1 participant