step timeouts
What is the time limit for a step to finish in a workflow that has multiple steps
3 Replies
We default to a timeout depending on the step (e.g.:
step.do
will timeout in 10 minutes if no timeout if provided). This is defined from the moment that the step runs first. You can pass a timeout if you want a specific time limit for a step.Can these tasks be running for over 30mins or more as well ?
Depends on what your step is doing. If you are trying to run some CPU intensive task inside
step.do
, then you will hit CPU time limits. If it's an IO bound task, then it's generally okay since there is no hard limit on wall time. In other words, calling into a WorkflowEntrypoint is similar to calling into a worker, meaning that the limits for the workers platform will apply.
You can read more into workers limits here: https://developers.cloudflare.com/workers/platform/limits/#worker-limits