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 an option to override the default 100 second request timeout #91

Open
ZakFahey opened this issue Mar 21, 2023 · 2 comments
Open

Add an option to override the default 100 second request timeout #91

ZakFahey opened this issue Mar 21, 2023 · 2 comments

Comments

@ZakFahey
Copy link

My application is somewhat latency sensitive, and after a minute+, I'd rather the request not complete at all. Unfortunately it doesn't seem like there's a way to change this setting.

@ZakFahey
Copy link
Author

Seems like #83 would let me have this use case, so that would be nice to merge. If not I guess I could depend on that fork for my project.

@Baklap4
Copy link

Baklap4 commented Mar 22, 2023

You're correct, httpclient injection should make this possible. Also related to this is #44
Latest dotnet says you should use the HttpClientFactory so you configure the HttpClient is correctly summoned and disposed for the lifetime of the service and don't have to repeat yourself everytime in the ctor of the classes using the httpclient

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

No branches or pull requests

2 participants