yuqian90 commented on a change in pull request #7143: [AIRFLOW-6527] Make 
send_task_to_executor timeout configurable
URL: https://github.com/apache/airflow/pull/7143#discussion_r365645312
 
 

 ##########
 File path: airflow/executors/celery_executor.py
 ##########
 @@ -41,6 +41,8 @@
 
 CELERY_SEND_ERR_MSG_HEADER = 'Error sending Celery task'
 
+SEND_TASK_TIMEOUT = conf.getint('celery', 'SEND_TASK_TIMEOUT')
 
 Review comment:
   fallback is not needed because `AirflowConfigParser.get()` looks in 
default_airflow.cfg if the entry is not found. I set it to 2 in 
`default_airflow.cfg` so we don't need explicit fallback here.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to