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

Stefan Seelmann commented on AIRFLOW-1386:
------------------------------------------

I didn't see this issue and the PR earlier, would have saved me some time. 
Anyway something similar is now implemented, see AIRFLOW-2747.

> 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