Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass SchedulerJob.subdir to Dagbag (apache#13291)
Because `SchedulerJob.subdir` was not used in Airflow 2.0, whenever SchedulerJob() would be initialized, it would serialize all the DAGs to the DB from settings.DAG_FOLDER. ``` root@b11b273fdffb:/opt/airflow# pytest tests/jobs/test_scheduler_job.py -k test_dag_file_processor_process_task_instances --durations=0 Before: 9 passed, 120 deselected, 2 warnings in 22.11s ======================================================================================================= After: 9 passed, 120 deselected, 2 warnings in 10.56s ======================================================================================================= ```
- Loading branch information