uranusjr commented on code in PR #27060:
URL: https://github.com/apache/airflow/pull/27060#discussion_r1017499028


##########
airflow/dag_processing/manager.py:
##########
@@ -932,7 +937,7 @@ def set_file_paths(self, new_file_paths):
         :return: None
         """
         self._file_paths = new_file_paths
-        self._file_path_queue = [x for x in self._file_path_queue if x in 
new_file_paths]
+        self._file_path_queue = collections.deque([x for x in 
self._file_path_queue if x in new_file_paths])

Review Comment:
   ```suggestion
           self._file_path_queue = collections.deque(x for x in 
self._file_path_queue if x in new_file_paths)
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to