pierrejeambrun commented on code in PR #69832:
URL: https://github.com/apache/airflow/pull/69832#discussion_r3637008632
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py:
##########
@@ -212,24 +225,33 @@ def get_dag_structure(
.distinct()
),
)
- .execution_options(yield_per=5) # balance between peak memory usage
and round trips
+ .order_by(SerializedDagModel.id)
Review Comment:
Why a new order_by? I believe this induce a behavior change in the ordering
later on. I wouldn't add this if not necessary.
--
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]