We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e924a6 commit decbfefCopy full SHA for decbfef
src/context/run.rs
@@ -91,8 +91,8 @@ impl RunRetryPolicy {
91
self
92
}
93
94
- /// Gives up retrying when either at least the given number of attempts is reached,
95
- /// or `max_duration` (if set) is reached first.
+ /// Gives up retrying when either at least the given number of attempts, including the initial attempt,
+ /// is reached, or `max_duration` (if set) is reached first.
96
///
97
/// **Note:** The number of actual retries may be higher than the provided value.
98
/// This is due to the nature of the run operation, which executes the closure on the service and sends the result afterward to Restate.
0 commit comments