tanelk commented on PR #21901:
URL: https://github.com/apache/airflow/pull/21901#issuecomment-1100816294

   On a second tought I might be completely wrong and this PR works.
   
   `dag_model.calculate_dagrun_date_fields` is called only in one place and 
`DagModel` is locked there - this is very good.
   In the `self._max_active_runs_reached` we are still changing the 
`max_active_runs_reached` field at three places (with different locks) - this 
part feels bit iffy.
   


-- 
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