[ 
https://issues.apache.org/jira/browse/AIRFLOW-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072172#comment-17072172
 ] 

ASF subversion and git services commented on AIRFLOW-6730:
----------------------------------------------------------

Commit 637b0b9af33a1c301219d02c5534dcd334f75eae in airflow's branch 
refs/heads/v1-10-test from Alex Guziel
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=637b0b9 ]

[AIRFLOW-6730] Use total_seconds instead of seconds (#7363)

* [AIRFLOW-6730] Use total_seconds instead of seconds

* adds tests and fixes types issue

* fix test

(cherry picked from commit 008b4bab14222da068b737d6332db4963b994007)


> is_alive uses seconds and not total_seconds
> -------------------------------------------
>
>                 Key: AIRFLOW-6730
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6730
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.10.4
>            Reporter: Alex Guziel
>            Assignee: Alex Guziel
>            Priority: Major
>             Fix For: 2.0.0, 1.10.10
>
>
> Example:
> timedelta(days=1).seconds = 0
> timedelta(days=1).total_seconds() = 86400



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to