Skip to content

Commit 3c56209

Browse files
authored
Fix index to sort by last parsing duration (#50388)
1 parent e0883c4 commit 3c56209

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)