From 97c8e5b6f8dc851a2e5a288fd7cdf43330433de4 Mon Sep 17 00:00:00 2001 From: YossiTamari <33034182+YossiTamari@users.noreply.github.com> Date: Sun, 19 Aug 2018 12:43:06 +0300 Subject: [PATCH] It's Duration.Inf, not inf (uppercase). (#25495) --- akka-docs/src/main/paradox/fault-tolerance.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/fault-tolerance.md b/akka-docs/src/main/paradox/fault-tolerance.md index 60a0ea2b3c..5f7838d3d6 100644 --- a/akka-docs/src/main/paradox/fault-tolerance.md +++ b/akka-docs/src/main/paradox/fault-tolerance.md @@ -53,11 +53,11 @@ The child actor is stopped if the restart count exceeds `maxNrOfRetries` during Also, there are special values for these parameters. If you specify: -* `-1` to `maxNrOfRetries`, and @scala[`Duration.inf`]@java[`Duration.Inf()`] to `withinTimeRange` +* `-1` to `maxNrOfRetries`, and @scala[`Duration.Inf`]@java[`Duration.Inf()`] to `withinTimeRange` * then the child is always restarted without any limit * `-1` to `maxNrOfRetries`, and a non-infinite `Duration` to `withinTimeRange` * `maxNrOfRetries` is treated as `1` -* a non-negative number to `maxNrOfRetries` and @scala[`Duration.inf`]@java[`Duration.Inf()`] to `withinTimeRange` +* a non-negative number to `maxNrOfRetries` and @scala[`Duration.Inf`]@java[`Duration.Inf()`] to `withinTimeRange` * `withinTimeRange` is treated as infinite duration (i.e.) no matter how long it takes, once the restart count exceeds `maxNrOfRetries`, the child actor is stopped The match statement which forms the bulk of the body