diff --git a/README.md b/README.md index 48c8df590d8..a6e8ce64586 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,8 @@ Policy }); ``` +`RetryForever` does not actually retry forever; it will retry up to `int.MaxValue` (2147483647) times. Depending on what is done in the policy delegate this may take an exceedingly long time, but the policy will eventually hit `int.MaxValue` retries, get the last exception and stop retrying. + #### Wait and retry ```csharp @@ -323,6 +325,8 @@ Policy }); ``` +Similarly to `RetryForever`, `WaitAndRetryForever` only actually retries `int.MaxValue` times. + If all retries fail, a retry policy rethrows the final exception back to the calling code. For more depth see also: [Retry policy documentation on wiki](https://github.com/App-vNext/Polly/wiki/Retry).