tirkarthi opened a new pull request, #50767:
URL: https://github.com/apache/airflow/pull/50767

   The API by default fetches 10 recent dag runs but only the latest run is 
used in the header information. Passing the limit as 1 saves data and query 
output. On an example dag with several dag runs it reduces the data from 8kb to 
1kb . This is more useful when there is a pending dagrun and makes autorefresh 
to be more efficient.
   
   
https://github.com/apache/airflow/blob/d176113630d6b7d4bc36511fe3f8cb013060d675/airflow-core/src/airflow/ui/src/pages/Dag/Header.tsx#L45


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