ashb commented on a change in pull request #11462:
URL: https://github.com/apache/airflow/pull/11462#discussion_r503856820



##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1409,6 +1399,15 @@ def _run_scheduler_loop(self) -> None:
                 # usage when "idle"
                 time.sleep(self._processor_poll_interval)
 
+            # Verify that all files were processed, and if so, deactivate DAGs 
that
+            # haven't been touched by the scheduler as they likely have been 
deleted.
+            if self.processor_agent.all_files_processed:

Review comment:
       No, not needed anymore, correct.




----------------------------------------------------------------
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:
[email protected]


Reply via email to