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 2021/09/30 04:07:27 UTC

[GitHub] [airflow] Ayushsunny commented on a change in pull request #18610: fixed default value of execution_timeout in base operator

Ayushsunny commented on a change in pull request #18610:
URL: https://github.com/apache/airflow/pull/18610#discussion_r719042085



##########
File path: airflow/models/baseoperator.py
##########
@@ -502,7 +502,7 @@ def __init__(
         pool: Optional[str] = None,
         pool_slots: int = 1,
         sla: Optional[timedelta] = None,
-        execution_timeout: Optional[timedelta] = None,
+        execution_timeout: Optional[timedelta] = conf.gettimedelta('core', 'default_ execution_timeout', fallback=None),    

Review comment:
       @alexInhert What's `gettimedelta` function supposed to do 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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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