huozhanfeng commented on a change in pull request #16768:
URL: https://github.com/apache/airflow/pull/16768#discussion_r664630207



##########
File path: airflow/dag_processing/processor.py
##########
@@ -573,6 +573,7 @@ def _execute_task_callbacks(self, dagbag: DagBag, request: 
TaskCallbackRequest):
                 ti.start_date = simple_ti.start_date
                 ti.end_date = simple_ti.end_date
                 ti.try_number = simple_ti.try_number
+                ti.hostname = simple_ti.hostname

Review comment:
       Actually, I think  #16804 is the better way to solve this problem. 
Sometimes DB resource is tight.




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


Reply via email to