Skip to main content

Run tag concurrency limits

Limit the number of runs that can be in progress by run tag

You can limit the number of in-progress runs by run tag. This is useful for limiting sets of runs independent of which assets or ops it is executing. For example, you might want to limit the number of in-progress runs for a particular schedule. Or, you might want to limit the number of in-progress runs for all backfills.

concurrency:
runs:
tag_concurrency_limits:
- key: 'dagster/sensor_name'
value: 'my_cool_sensor'
limit: 5
- key: 'dagster/backfill'
limit: 10

Limit the number of runs that can be in progress by unique tag value

To apply separate limits to each unique value of a run tag, set a limit for each unique value using applyLimitPerUniqueValue. For example, instead of limiting the number of backfill runs across all backfills, you may want to limit the number of runs for each backfill in progress:

concurrency:
runs:
tag_concurrency_limits:
- key: 'dagster/backfill'
value:
applyLimitPerUniqueValue: true
limit: 10