ashb commented on PR #35243: URL: https://github.com/apache/airflow/pull/35243#issuecomment-1784926965
The difference between an LRU cache and the cache in dagbag is that the later does a `datetime.now()` call (more or less). Additionally the change here to `dag = dag_run.dag or self.dagbag.get_dag(dag_run.dag_id, session=session)` should negate even that call in 99% of cases without needing the extra 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]
