mis98zb commented on code in PR #32122: URL: https://github.com/apache/airflow/pull/32122#discussion_r1262282293
########## airflow/jobs/scheduler_job_runner.py: ########## @@ -513,34 +567,30 @@ def _executable_task_instances_to_queued(self, max_tis: int, session: Session) - continue task_concurrency_limit: int | None = None - if serialized_dag.has_task(task_instance.task_id): - task_concurrency_limit = serialized_dag.get_task( - task_instance.task_id - ).max_active_tis_per_dag + task_dagrun_concurrency_limit: int | None = None + task_group_concurrency_limit: int | None = None + if serialized_dag.has_task(task_id): + serialized_task = serialized_dag.get_task(task_id) Review Comment: I just flowed the legacy code. Maybe if is faster than try-catch, :) -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org