Open rokzu opened 5 years ago
Not opposed to adding to CRMWebAPIConfig - we don't plan to add more constructor params
@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.
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?