Revert [AIRFLOW-2814] - Change `min_file_process_interval` to 0 (#3669)

- Change the time (in seconds) after which a new DAG should be picked up from the filesystem
This commit is contained in:
Kaxil Naik 2018-08-03 09:27:06 +01:00 коммит произвёл GitHub
Родитель c25e63970d
Коммит 758be9db83
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -589,8 +589,7 @@ class SchedulerJob(BaseJob):
# 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