Taragolis commented on code in PR #37302:
URL: https://github.com/apache/airflow/pull/37302#discussion_r1485045642
##########
airflow/dag_processing/manager.py:
##########
@@ -849,7 +849,7 @@ def _log_file_processing_stats(self, known_file_paths):
rows.append((file_path, processor_pid, runtime, num_dags,
num_errors, last_runtime, last_run))
# Sort by longest last runtime. (Can't sort None values in python3)
- rows.sort(key=lambda x: x[3] or 0.0)
+ rows.sort(key=lambda x: x[5] or 0.0)
Review Comment:
```suggestion
rows.sort(key=lambda x: x[5] or 0.0, reverse=True)
```
If we want to order in descending order
--
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]