aoen closed pull request #3925: [AIRFLOW-3091]Deactivate inactive DAGs after 
collecting DagBag
URL: https://github.com/apache/incubator-airflow/pull/3925
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/models.py b/airflow/models.py
index 1e4949e563..6c40fc5c72 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -272,6 +272,7 @@ def __init__(
                 'example_dags')
             self.collect_dags(example_dag_folder)
         self.collect_dags(dag_folder)
+        self.deactivate_inactive_dags()
 
     def size(self):
         """


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to