sagmansercan opened a new pull request #22389:
URL: https://github.com/apache/airflow/pull/22389


   This PR aims to make the execution_timeout attribute to be configurable 
globally via airflow.cfg.
   
   * The default value is still `None`. Users are expected to
   define a positive integer value to be passed into timedelta object
   to set the timeout in terms of seconds by default, via configuration.
   * If the key is missing or is set to a non-positive value, then it is
   considered as `None`.
   * Added `gettimedelta` method in configuration to be used in abstractoperator
   to get timedelta or None type object. The method raises exceptions
   for the values that are not convertible to integer and/or the values
   too large to be converted to C int.
   * Sample config cases are added into unit tests.
   
   Closes #18578


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


Reply via email to