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: rivetkit-typescript/packages/workflow-engine/docs/retries.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ await ctx.step({
24
24
25
25
-`maxRetries` defaults to 3.
26
26
-`retryBackoffBase` and `retryBackoffMax` control exponential delay.
27
-
-`timeout` limits how long the step can run; timeouts are treated as critical failures.
27
+
-`timeout` limits how long the step can run; by default a timeout is treated as a critical failure with no retry. Set `retryOnTimeout: true` on the step to retry timeouts like any other error.
`StepTimeoutError` is also treated as critical, so timeouts bypass retries.
49
+
`StepTimeoutError` is treated as critical by default and bypasses retries. Opt into normal retry behavior with `retryOnTimeout: true`; when retries exhaust on a timeout the `try`-step failure `kind` is `"timeout"`.
0 commit comments