Timeouts#

There are two types of timeouts a workflow can have. You can view the default timeout values in the UI pool information.

Field

Description

exec_timeout

Maximum execution time for a workflow before the service cleans it up. This is the time since the workflow status is set to READY.

queue_timeout

Maximum queue time for a workflow in the workflow queue before the service cleans it up. This is the time calculated after the workflow status is set to PENDING and until the workflow status is set to READY.

Note

The default timeout values can be configured but requires service-level configuration. If you have administrative access, you can enable this directly. Otherwise, contact someone with workflow administration privileges.

For example:

workflow:
  name: my_workflow
  timeout:
    exec_timeout: 8h
    queue_timeout: 6h
  ...

If a running workflow is timed out, the workflow status is set to FAILED_EXEC_TIMEOUT. If a workflow stays in the pending state it is timed out and the workflow status is set to FAILED_QUEUE_TIMEOUT.

The timeout values are defined in the format <integer><unit>. The units supported are:

  • s (seconds)

  • m (minutes)

  • h (hours)

  • d (days)

Note

The timeout value does NOT support a mix and match of units, like 10h5m.