You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/01 14:57:48 UTC

[GitHub] [airflow] seelmann commented on pull request #9087: Query TaskReschedule only if task is UP_FOR_RESCHEDULE

seelmann commented on pull request #9087:
URL: https://github.com/apache/airflow/pull/9087#issuecomment-636907078


   Makes perfect sense, +1.
   
   Another optimization could be to not fetch all `TaskReschedule` objects but only the first one. Similar in `ready_to_reschedule.py` only the last one is needed. I wanted to change that long time ago but didn't fine the time and then forgot...
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org