Repository: incubator-airflow
Updated Branches:
  refs/heads/master 47fa65760 -> 9b7525f25


[AIRFLOW-2814] Fix inconsistent default config

value of min_file_process_interval in config
template is 0
However it's supposed to be 180 according to
airflow/jobs.py line 592

Closes #3659 from XD-DENG/patch-3


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/9b7525f2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/9b7525f2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/9b7525f2

Branch: refs/heads/master
Commit: 9b7525f251f93e625214ff680710f92306df9433
Parents: 47fa657
Author: XD-DENG <[email protected]>
Authored: Sat Jul 28 20:48:17 2018 +0100
Committer: Kaxil Naik <[email protected]>
Committed: Sat Jul 28 20:48:17 2018 +0100

----------------------------------------------------------------------
 airflow/config_templates/default_airflow.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/9b7525f2/airflow/config_templates/default_airflow.cfg
----------------------------------------------------------------------
diff --git a/airflow/config_templates/default_airflow.cfg 
b/airflow/config_templates/default_airflow.cfg
index 29a6e6b..828db54 100644
--- a/airflow/config_templates/default_airflow.cfg
+++ b/airflow/config_templates/default_airflow.cfg
@@ -428,8 +428,8 @@ scheduler_heartbeat_sec = 5
 # -1 indicates to run continuously (see also num_runs)
 run_duration = -1
 
-# after how much time a new DAGs should be picked up from the filesystem
-min_file_process_interval = 0
+# after how much time (seconds) a new DAGs should be picked up from the 
filesystem
+min_file_process_interval = 180
 
 # How many seconds to wait between file-parsing loops to prevent the logs from 
being spammed.
 min_file_parsing_loop_time = 1

Reply via email to