We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As reported in #852 (comment), some of the examples in the wiki are out-of-date for Polly v7.
These examples are outdated and the wiki also points to this outdated issue (https://github.com/App-vNext/Polly/wiki/Retry#retryafter-when-the-response-specifies-how-long-to-wait). I was hoping that that applying WaitAndRetryAsync on the PolicyBuilder would still work in 7.2.2, but the return type is now AsyncRetryPolicy. A quick excerpt from #414 that doesn't work anymore: var _retryAfterPolicy = Policy .HandleResult(r => r?.Headers?.RetryAfter != null) .WaitAndRetryAsync( retryCount: numRetries, sleepDurationProvider: (retryCount, response, context) => getServerWaitDuration(response) ); If you can update the wiki to point to the new overload and to a more recent working example, it would be greatly helpful!
These examples are outdated and the wiki also points to this outdated issue (https://github.com/App-vNext/Polly/wiki/Retry#retryafter-when-the-response-specifies-how-long-to-wait).
I was hoping that that applying WaitAndRetryAsync on the PolicyBuilder would still work in 7.2.2, but the return type is now AsyncRetryPolicy.
A quick excerpt from #414 that doesn't work anymore:
var _retryAfterPolicy = Policy .HandleResult(r => r?.Headers?.RetryAfter != null) .WaitAndRetryAsync( retryCount: numRetries, sleepDurationProvider: (retryCount, response, context) => getServerWaitDuration(response) );
If you can update the wiki to point to the new overload and to a more recent working example, it would be greatly helpful!
We should go through the wiki and update any out-of-date examples found with up-to-date equivalents.
The text was updated successfully, but these errors were encountered:
Superseded by #1091.
Sorry, something went wrong.
No branches or pull requests
As reported in #852 (comment), some of the examples in the wiki are out-of-date for Polly v7.
We should go through the wiki and update any out-of-date examples found with up-to-date equivalents.
The text was updated successfully, but these errors were encountered: