xBis7 commented on PR #54103: URL: https://github.com/apache/airflow/pull/54103#issuecomment-3284485855
> I guess the scheduler loop duration is longer as each one is now doing more useful work? @ashb Yes, it's doing more work because there is an extra condition on the query, checking the max number of tasks that we can queue. But it's also more efficient, 1 new iteration queues almost as many tasks as 3 old iterations would. If we have reached the max active tasks for a dag run, we stop getting tasks to examine from the db and move on to examine the next dag run. That way, the iteration doesn't concentrate on examining tasks that it can't queue. -- 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]
