avolant commented on PR #70307:
URL: https://github.com/apache/airflow/pull/70307#issuecomment-5093014104

   Commit `eac3bf9` keeps refill queries at `max_tis` instead of shrinking them 
to the remaining batch capacity. This avoids one database query per blocked 
task when the batch is nearly full, while stopping selection as soon as the 
batch reaches `max_tis`. The regression test verifies the batch is filled in 
two queries instead of four.


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