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 2021/01/27 19:49:52 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #13931: Don't load plugins inside Scheduling loop

kaxil commented on a change in pull request #13931:
URL: https://github.com/apache/airflow/pull/13931#discussion_r565589430



##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1466,6 +1466,8 @@ def _do_scheduling(self, session) -> int:
         :return: Number of TIs enqueued in this iteration
         :rtype: int
         """
+        os.environ["AIRFLOW_IN_SCHEDULING_LOOP"] = 'True'
+

Review comment:
       Once we decided on which PR is better, I will add code comments + tests




----------------------------------------------------------------
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