mik-laj commented on a change in pull request #7562: [AIRFLOW-6938] Don't read
dag_directory in SchedulerJob
URL: https://github.com/apache/airflow/pull/7562#discussion_r385081097
##########
File path: airflow/utils/dag_processing.py
##########
@@ -577,7 +566,7 @@ def __init__(self,
self._last_zombie_query_time = None
# Last time that the DAG dir was traversed to look for files
- self.last_dag_dir_refresh_time = timezone.utcnow()
+ self.last_dag_dir_refresh_time =
timezone.make_aware(datetime.fromtimestamp(0))
Review comment:
We want the files to be read during the first loop cycle.
https://github.com/apache/airflow/blob/master/airflow/utils/dag_processing.py#L717-L718
----------------------------------------------------------------
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]
With regards,
Apache Git Services