You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/28 10:26:51 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #7561: [AIRFLOW-6937] Inline _get_simple_dags method in SchedulerJob

mik-laj commented on a change in pull request #7561: [AIRFLOW-6937] Inline _get_simple_dags method in SchedulerJob
URL: https://github.com/apache/airflow/pull/7561#discussion_r385617790
 
 

 ##########
 File path: airflow/jobs/scheduler_job.py
 ##########
 @@ -1552,7 +1549,7 @@ def _execute_helper(self):
                 self.log.debug("Waiting for processors to finish since we're using sqlite")
                 self.processor_agent.wait_until_finished()
 
-            simple_dags = self._get_simple_dags()
+            simple_dags = self.processor_agent.harvest_simple_dags()
 
 Review comment:
   Even one line above we access the processor agent directly.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services