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

Configurable HttpClient timeout #79

Open
rokzu opened this issue Apr 30, 2019 · 2 comments
Open

Configurable HttpClient timeout #79

rokzu opened this issue Apr 30, 2019 · 2 comments

Comments

@rokzu
Copy link

rokzu commented Apr 30, 2019

For some operations (ExportSolution) the default HttpClient timeout of 2 minutes is not long enough, bigger solutions sometimes take longer to export. Any way to extend the timeout or would adding a configurable timeout parameter to the CRMWebAPIConfig and the constructors of CRMWebAPI address this issue?

@davidyack
Copy link
Owner

Not opposed to adding to CRMWebAPIConfig - we don't plan to add more constructor params

@mohsinonxrm
Copy link

@rokzu , I'll be opening a pull request in a couple of days (already coded, going to test a bit more) and submitting the changes for @davidyack to review and merge.

You can now provide timeout as part of the configuration or as an optional constructor parameter.
If none is provided then it'll default to 2.0 minutes.

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

3 participants