You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Yong-Siang Shih (JIRA)" <ji...@apache.org> on 2017/07/07 02:34:00 UTC

[jira] [Created] (AIRFLOW-1386) Add a SLEEP state for sensors

Yong-Siang Shih created AIRFLOW-1386:
----------------------------------------

             Summary: Add a SLEEP state for sensors
                 Key: AIRFLOW-1386
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1386
             Project: Apache Airflow
          Issue Type: Wish
          Components: scheduler
            Reporter: Yong-Siang Shih


Currently when the sensor is sleeping, the task process is in RUNING state and it still consumes resources (because the process does not terminate). This is a waste of resource, especially when there are thousands of sensors sleeping and poking. Preferably when it sleep, it would enter a SLEEP state and terminate, waiting for scheduler to reschedule it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)