Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove double collection of dags in
airflow dags reserialize
(#27030)
We explicitly call dagbag.collect_dags after instantiating DagBag in airflow dags reserialize code. The method collect_dags is called on instantiation of the DagBag so calling it again means more processing of the same dags. Here, we use a variable to achieve the same needed effect on reserialization Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
- Loading branch information
1 parent
66fe681
commit 36e2e43
Showing
3 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters