RetryForever - Documentation improvment? #944
Labels
documentation
enhancement
help wanted
A change up for grabs for contributions from the community
v8
Issues related to the new version 8 of the Polly library.
Milestone
Is your feature request related to a specific problem? Or an existing feature? Please describe.
Documentation! huzzar
Describe your proposed or preferred solution:
RetryForever only retries up to int.MaxValue at which point the policy will return. Now depending on the work done in the policy delegate this could take an exceedingly long time but there's no clear indication in the docs that if you hit int.MaxValue retries you will get your last exception and the policy will stop retrying. That's not really forever, it's more 'long enough to seem like forever to you, human'.
A note on the docs for retries explaining this would be useful as it's hard to find a definitive answer when googling around. Forever != Forever in this case.
Describe any alternative options you've considered:
Any additional info?
The text was updated successfully, but these errors were encountered: