KsM00000 commented on issue #34929:
URL: https://github.com/apache/airflow/issues/34929#issuecomment-1763735848

   Hi. I had similar problem in the version 2.5.1. I set 
`max_active_runs_per_dag = 1` in configs, but dags will be launched several 
times simultaneously according to the schedule, without waiting for completion 
of the fisrt run (if you launch them manually, they will wait). it feels like 
the schedule mattered more than the settings.
   I got around this bug (or feature?) by specifying in the code of each dag 
the next settings:
   ```
   with DAG( 
        ....
        max_active_runs=1,
        ...
   ) as dag:
   ```
   Now it works fine. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to