dzhigimont commented on code in PR #30372:
URL: https://github.com/apache/airflow/pull/30372#discussion_r1162367198


##########
airflow/models/dagrun.py:
##########
@@ -1274,37 +1280,44 @@ def schedule_tis(self, schedulable_tis: Iterable[TI], 
session: Session = NEW_SES
                 schedulable_ti_ids.append((ti.task_id, ti.map_index))
 
         count = 0
+        max_tis_per_query = airflow_conf.getint("scheduler", 
"max_tis_per_query")

Review Comment:
   It's a good idea, but the method `schedule_tis` is also called by 
`TaskInstance` in the method  `schedule_downstream_tasks` and it doesn't have 
the `max_tis_per_query` attribute.



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