with.timeout · Execution timeout
Configure the maximum duration a step is allowed to run.
- _: Say hi
log: Bonjour, mes amis !
with:
timeout:
attempts: 5 minutes
global: 15 minutes
retry:
attempts: 3TIP
Use Infinity to let a step run indefinitely.
NOTE
A step that could not complete within the specified timeout duration will have a "TIMEOUT" result status.
with.timeout.attempts
The timeout for each individual attempt, after which the current attempt is aborted. It is intended to be used in conjunction with with.retry.attempts to limit the duration of each attempt.
When a step has no retry policy, this property behaves like with.timeout.global.
This property is evaluated on each retry attempt, which makes it possible to create dynamic timeouts values.
- with:
timeout:
attempts: ${3 * esquie.result.attempts} minutesTIP
Using timeout: <value> with a duration value is a shorthand for timeout: { attempts: <value> }.
- with:
timeout: 5 minuteswith.timeout.global
The overall timeout for the step, after which the entire step (including all attempts, delays AND all substeps) will be aborted.
- with:
timeout:
global: 15 minutes