ashb commented on code in PR #23690:
URL: https://github.com/apache/airflow/pull/23690#discussion_r878038500
##########
airflow/executors/celery_executor.py:
##########
@@ -469,6 +535,16 @@ def try_adopt_task_instances(self, tis:
List[TaskInstance]) -> List[TaskInstance
return not_adopted_tis
+ def _set_celery_pending_task_timeout(
Review Comment:
```suggestion
def _set_celery_pending_task_timeout(
"""
We use the fact that dicts maintain insertion order, and the the
timeout for a
task is always "now + delta" to maintain the property that oldest
item = first to
time out.
"""
```
--
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]