Workflow limits
Learn about the limits applied to workflows.
Retool imposes certain limits on workflow runs and workflow block runs.
Workflow run limits
A workflow run is a complete execution of a workflow through a trigger (e.g. app, schedule, webhook, Retool Event) or by manually running the workflow in the workflow IDE.
Timeout
Retool limits the length of time a workflow run can remain in execution before it is automatically terminated.
For asynchronous workflow runs, the timeout is 30 hours. For asynchronous workflows with User Task or Wait blocks, the timeout is 60 days.
For synchronous workflows runs, the timeout is 15 minutes up to executing the first webhook Response block. The remainder of the workflow follows the asynchronous timeout.
Memory and CPU
- Cloud
- Self-hosted
A workflow run can use up to 1GB in memory, and 1 vCPU.
A workflow run has no memory and CPU limits by default. To configure limits, set environment variable WORKFLOW_MONITOR_PROCESS_ENABLED to true and constrain the memory and CPU usage of the workflow via WORKFLOW_MEMORY_LIMIT_MBS and WORKFLOW_CPU_LIMIT respectively.