kaxil commented on a change in pull request #15046: URL: https://github.com/apache/airflow/pull/15046#discussion_r602707700
########## File path: airflow/utils/dag_processing.py ########## @@ -1017,25 +1019,58 @@ def prepare_file_path_queue(self): # processed recently, wait until the next batch file_paths_in_progress = self._processors.keys() now = timezone.utcnow() + + # Sort the file paths by the parsing order mode + list_mode = conf.get("scheduler", "file_parsing_sort_mode", fallback="modified_time") + + if list_mode not in FILE_PARSER_MODES: Review comment: Good point -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org