msgraph-sdk-dotnet-core
msgraph-sdk-dotnet-core copied to clipboard
Retry Handler actually wait time and returned does not match
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