dstandish commented on code in PR #49097:
URL: https://github.com/apache/airflow/pull/49097#discussion_r2042819390
##########
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:
yes, i think that cache invalidation here must be a todo -- need to think
about what's the best approach there but for now, i think it's ok to leave it
with no cache invalidation because, i think usually schedulers never last for
all that long
--
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]