ashb commented on PR #35243:
URL: https://github.com/apache/airflow/pull/35243#issuecomment-1783904570

   >> Because the time on our slow DB to query the dag took between 50ms and 
250ms and if you execute this only once or 60 times during one scheduler loop 
run this makes a big change.
   
   The point is that `dagbag.get_dag` is already this cache. There were no 
numbers provided in that PR that show the PR actually makes any difference. My 
assumption is that this doesn't actually save anything (as not every call to 
dagbag.get_dag in the scheduler loop was replaced by a cache.


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