Keisuke Nishida created AIRFLOW-1117:
----------------------------------------

             Summary: Increase the default value of min_file_process_interval
                 Key: AIRFLOW-1117
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1117
             Project: Apache Airflow
          Issue Type: Wish
          Components: scheduler
    Affects Versions: 1.8.0
            Reporter: Keisuke Nishida
            Priority: Minor


I observed high CPU usage after upgrading Airflow from 1.7.1.3 to 1.8.0.

I found Airflow is loading DAG files repeatedly, which consumed most of the CPU 
time in my Airflow instance.  I realized Airflow 1.8 introduced a new 
configuration variable {{min_file_process_interval}} with default value 0.  
This means Airflow reloads DAG files one after another without any interval.

Can you increase the default value of {{min_file_process_interval}} to at least 
the same value of {{scheduler_heartbeat_sec}}, which is 5 seconds?




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to