https://dagster.io/ logo
Title
y

Yang

10/26/2022, 3:56 PM
Hello, is there a way to configure a job so that multiple requests will always run one at a time? For the deployment I still want to set it to 4 so that other jobs can run at the same time.
r

rex

10/26/2022, 3:57 PM
If you set a tag on your job, you can institute run limits: https://docs.dagster.io/deployment/run-coordinator#run-limits
y

Yang

10/26/2022, 4:53 PM
Oh great, so to be clear that means I would add something like this to the dagster cloud deployment settings?
run_coordinator:
  module: dagster.core.run_coordinator
  class: QueuedRunCoordinator
  config:
    max_concurrent_runs: 4
    tag_concurrency_limits:
      - key: "database"
        value: "redshift"
        limit: 1
but for my local deploy I"d add it to my dagster.yaml file
r

rex

10/26/2022, 4:53 PM
that’s correct
y

Yang

10/26/2022, 4:54 PM
great thanks!
oh I have this already. do I need to change it to run_coordinator?
run_queue:
  max_concurrent_runs: 1
  tag_concurrency_limits: []
y

Yang

10/26/2022, 5:03 PM
oooh ok, gotcha