Wenqiang Li created AIRFLOW-6487:
------------------------------------

             Summary: Romove unnecessary for loop
                 Key: AIRFLOW-6487
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6487
             Project: Apache Airflow
          Issue Type: Improvement
          Components: scheduler
    Affects Versions: master
            Reporter: Wenqiang Li
            Assignee: Wenqiang Li


Romove unnecessary for loop:

In DagFileProcessorManager, dag files are processed periodically. Processor 
manager will put dag into queue except file_paths_in_progress, 
file_paths_recently_processed and files_paths_at_run_limit. While 
min_file_process_interval = 0 and num_runs = -1 in config by default, there is 
unnecessary for-loop when get file_paths_recently_processed and 
files_paths_at_run_limit.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to