dstandish commented on code in PR #49097:
URL: https://github.com/apache/airflow/pull/49097#discussion_r2042986538
##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -199,7 +248,7 @@ def __init__(
if log:
self._log = log
- self.dagbag = DagBag(read_dags_from_db=True, load_op_links=False)
+ self.scheduler_dag_bag = SchedulerDagBag()
Review Comment:
I guess, why remove it if you've already done the work of loading it? i
think in general the caching it provides is a good thing, no?
--
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]