Skip to content

Commit cdad597

Browse files
bruxodasilvasdnts
authored andcommitted
Workflows: Better timeout policy description (cloudflare#22666)
1 parent 79c4d98 commit cdad597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/sleeping-and-retrying.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ When providing your own `StepConfig`, you can configure:
7272
* The total number of attempts to make for a step (accepts `Infinity` for unlimited retries)
7373
* The delay between attempts (accepts both `number` (ms) or a human-readable format)
7474
* 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)
7676

7777
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`:
7878

0 commit comments

Comments
 (0)