[ 
https://issues.apache.org/jira/browse/AIRFLOW-4120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Poortman reassigned AIRFLOW-4120:
---------------------------------------

    Assignee: Simon Poortman  (was: Markan Patel)

> SLA of zero timedelta is not respected
> --------------------------------------
>
>                 Key: AIRFLOW-4120
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4120
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: models
>            Reporter: Markan Patel
>            Assignee: Simon Poortman
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> When passing a zero timedelta SLA to any operator, it is not properly 
> respected if the task misses it.
>  
> {code:python}
> BaseOperator(
>   sla=timedelta(), # or timedelta(0)
>   **kwargs)
> {code}
> The cause can be narrowed down to the fact that
> {code:python}
> bool(timedelta()) == False
> {code}
> So any code that checks if the SLA parameter is falsy should be updated 
> accordingly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to