Taragolis commented on code in PR #34487:
URL: https://github.com/apache/airflow/pull/34487#discussion_r1330572006
##########
airflow/dag_processing/manager.py:
##########
@@ -466,6 +475,12 @@ def __init__(
else {}
)
+ dags_directory_event_handler =
AirflowFileSystemEventHandler(dag_file_processor_manager=self)
+ self.observer = Observer() # Class watching for file system changes
+ self.observer.schedule(
+ event_handler=dags_directory_event_handler,
path=str(self._dag_directory), recursive=True
+ )
Review Comment:
NFS/CIFS shares do not send
[inotify](https://man7.org/linux/man-pages/man7/inotify.7.html) events, so I
wondering is it possible completely disable watchdog in this case and use
current implementation instead?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]