You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workflows/build/sleeping-and-retrying.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ When providing your own `StepConfig`, you can configure:
72
72
* The total number of attempts to make for a step (accepts `Infinity` for unlimited retries)
73
73
* The delay between attempts (accepts both `number` (ms) or a human-readable format)
74
74
* What backoff algorithm to apply between each attempt: any of `constant`, `linear`, or `exponential`
75
-
* When to timeout (in duration) before considering the step as failed (including during a retry attempt)
75
+
* When to timeout (in duration) before considering the step as failed (including during a retry attempt, as the timeout is set per attempt)
76
76
77
77
For example, to limit a step to 10 retries and have it apply an exponential delay (starting at 10 seconds) between each attempt, you would pass the following configuration as an optional object to `step.do`:
0 commit comments