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/07 06:35:00 UTC

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

     [ https://issues.apache.org/jira/browse/AIRFLOW-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenqiang Li updated AIRFLOW-6487:
---------------------------------
    Description: 
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 in config by default, there is unnecessary for-loop when get file_paths_recently_processed.

  was:
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.


> 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
>            Priority: Major
>
> 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 in config by default, there is unnecessary for-loop when get file_paths_recently_processed.



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