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:
Родитель
c25e63970d
Коммит
758be9db83
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче