You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "QP Hou (Jira)" <ji...@apache.org> on 2019/11/12 01:04:00 UTC

[jira] [Created] (AIRFLOW-5900) heartbeat_callback for local_task_job can be more efficient

QP Hou created AIRFLOW-5900:
-------------------------------

             Summary: heartbeat_callback for local_task_job can be more efficient
                 Key: AIRFLOW-5900
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5900
             Project: Apache Airflow
          Issue Type: Improvement
          Components: core
    Affects Versions: 2.0.0
            Reporter: QP Hou
            Assignee: QP Hou


local_task_job's heartbeat_callback function is issuing unnecessary system calls when they are not needed. We can move those calls into the if block to make it more efficient.



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