Skip to content

Commit

Permalink
Revert [AIRFLOW-2814] - Change min_file_process_interval to 0 (apac…
Browse files Browse the repository at this point in the history
…he#3669)

- Change the time (in seconds) after which a new DAG should be picked up from the filesystem
  • Loading branch information
kaxil authored Aug 3, 2018
1 parent c25e639 commit 758be9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airflow/config_templates/default_airflow.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ scheduler_heartbeat_sec = 5
run_duration = -1

# after how much time (seconds) a new DAGs should be picked up from the filesystem
min_file_process_interval = 180
min_file_process_interval = 0

# How many seconds to wait between file-parsing loops to prevent the logs from being spammed.
min_file_parsing_loop_time = 1
Expand Down
3 changes: 1 addition & 2 deletions airflow/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,7 @@ def __init__(
# 30 seconds.
self.print_stats_interval = conf.getint('scheduler',
'print_stats_interval')
# Parse and schedule each file no faster than this interval. Default
# to 3 minutes.

self.file_process_interval = file_process_interval

# Wait until at least this many seconds have passed before parsing files once all
Expand Down

0 comments on commit 758be9d

Please sign in to comment.