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

Apache Spark commented on AIRFLOW-1386:
---------------------------------------

User 'shaform' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/2423

> 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
>            Priority: Minor
>
> Currently when the sensor is sleeping, the task process is in RUNING state 
> and it still consumes resources such as memory (because the process does not 
> terminate). This is waste of resource, especially when there are thousands of 
> sensors sleeping and poking. Preferably when it sleeps, it would enter a 
> SLEEP state and terminate, waiting for scheduler to reschedule it.



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

Reply via email to