From 3df232287c6ff8897b05c5c68802ebfc8deeb50d Mon Sep 17 00:00:00 2001 From: Aleksandr Denisyuk Date: Mon, 24 Jan 2022 17:08:33 +0300 Subject: [PATCH] Update docs --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 7d04bab..f59a780 100644 --- a/docs/index.md +++ b/docs/index.md @@ -186,10 +186,10 @@ $exceptionClassifier = new ExceptionClassifier([ $retry = new Retry($backOff, $exceptionClassifier); ``` -If you don't need any back-off at all use NullBackOff which just count attempts: +If you don't need any back-off at all use [NullBackOff](../src/NullBackOff.php) which just count attempts: ```php -$backOff = new NullBackOff(maxAttempts: 3); +$backOff = new NullBackOff(maxAttempts: INF); $exceptionClassifier = new ExceptionClassifier([ \RuntimeException::class,