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

update http client timeout for scope sync #4822

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

ancaantochi
Copy link
Contributor

HttpClient has default timeout to 100seconds and when it times out it throws TaskCanceledException and call is not retried.
This change is setting timeout to 5 min for http client and uses TimeoutAfter which throws TimeoutException

@kodiakhq kodiakhq bot merged commit 69d8c0c into Azure:release/1.2 Apr 8, 2021
@ancaantochi ancaantochi deleted the ancan/device-scope-retry branch April 8, 2021 22:35
ancaantochi added a commit to ancaantochi/iotedge that referenced this pull request Apr 27, 2021
HttpClient has default timeout to 100seconds and when it times out it throws TaskCanceledException and call is not retried.
This change is setting timeout to 5 min for http client and uses TimeoutAfter which throws TimeoutException
kodiakhq bot pushed a commit that referenced this pull request Apr 30, 2021
HttpClient has default timeout to 100seconds and when it times out it throws TaskCanceledException and call is not retried.
This change is setting timeout to 5 min for http client and uses TimeoutAfter which throws TimeoutException

cherry-pick #4822
ggjjj pushed a commit to ggjjj/iotedge that referenced this pull request Jul 22, 2021
HttpClient has default timeout to 100seconds and when it times out it throws TaskCanceledException and call is not retried.
This change is setting timeout to 5 min for http client and uses TimeoutAfter which throws TimeoutException

cherry-pick Azure#4822
damonbarry pushed a commit to damonbarry/iotedge that referenced this pull request Apr 15, 2022
HttpClient has default timeout to 100seconds and when it times out it throws TaskCanceledException and call is not retried.
This change is setting timeout to 5 min for http client and uses TimeoutAfter which throws TimeoutException

cherry-pick Azure#4822
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants