You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Wenqiang Li (Jira)" <ji...@apache.org> on 2020/01/06 14:56:00 UTC

[jira] [Created] (AIRFLOW-6487) Romove unnecessary for loop

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)