eladkal commented on issue #49508:
URL: https://github.com/apache/airflow/issues/49508#issuecomment-2835131897

   > Aha, yes. That must be the missing ingredient that made it "hard" to 
reproduce. Still don't fully understand why each DAG Run in DAG 1 don't get 
marked with scheduling_decision and then DAG 2 is checked. It seems like the 
scheduler should be able to check all runs faster than 30 minutes.
   
   Because when we read records from the database in the scheduler critical 
section we read as bulk. We don't have extra logic as we want this part to be 
as fast as possible.  The logic comes after and you apply it on the bulk 
records you read (`AIRFLOW__SCHEDULER__MAX_TIS_PER_QUERY`)


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