msgraph-sdk-dotnet-core icon indicating copy to clipboard operation
msgraph-sdk-dotnet-core copied to clipboard

Retry Handler actually wait time and returned does not match

Open tony-ssdut opened this issue 4 years ago • 0 comments

Expected behavior

RetryHandler can execute for the time period in RetryOption.RetriesTimeLimit

Actual behavior

Actually, RetryHandler will wait the min value of retry-after and 180s, but it always calculates the cumulative Delay with the actually retry-after value, which may cause inconsistent.

Steps to reproduce the behavior

When retry-after return for throttling requests over 180s, it will wait shorter time than the expected RetryOption.RetriesTimeLimit

tony-ssdut avatar Oct 27 '22 03:10 tony-ssdut