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/09/16 14:55:38 UTC
[GitHub] [airflow] turbaszek commented on a change in pull request #10949: Allow CeleryExecutor to "adopt" an orphaned queued or running task
turbaszek commented on a change in pull request #10949:
URL: https://github.com/apache/airflow/pull/10949#discussion_r489503134
##########
File path: airflow/config_templates/config.yml
##########
@@ -1373,6 +1373,23 @@
type: int
example: ~
default: "2"
+ - name: task_track_started
+ description: |
+ Celery task will report its status as 'started' when the task is executed by a worker.
+ This is used in Airflow to keep track of the running tasks and if a Scheduler is restarted
+ or run in HA mode, it can adopt the orphan tasks launched by previous SchedulerJob.
+ version_added: 2.0.0
+ type: boolean
+ example: ~
+ default: "True"
+ - name: adopted_task_timeout
+ description: |
+ Time after which Adopted tasks are cleared by CeleryExecutor. This is helpful to clear
Review comment:
```suggestion
Time in seconds after which Adopted tasks are cleared by CeleryExecutor. This is helpful to clear
```
Just to clarify
----------------------------------------------------------------
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