Skip to content

Commit 131c32a

Browse files
committed
Fix index to sort by last parsing duration.
1 parent cfdf63e commit 131c32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow-core/src/airflow/dag_processing/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def _log_file_processing_stats(self, known_files: dict[str, set[DagFileInfo]]):
710710
)
711711

712712
# Sort by longest last runtime. (Can't sort None values in python3)
713-
rows.sort(key=lambda x: x[5] or 0.0, reverse=True)
713+
rows.sort(key=lambda x: x[6] or 0.0, reverse=True)
714714

715715
formatted_rows = []
716716
for (

0 commit comments

Comments
 (0)