This is an automated email from the ASF dual-hosted git repository.

eamonford pushed a commit to branch poll-filesystem
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-ingester.git

commit b715f51baddf9868d00cc1fcb06929d44fda8394
Author: Eamon Ford <[email protected]>
AuthorDate: Mon Aug 10 18:52:39 2020 -0700

    Use filesystem poll instead of listening to events
---
 collection_manager/collection_manager/services/CollectionWatcher.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/collection_manager/collection_manager/services/CollectionWatcher.py 
b/collection_manager/collection_manager/services/CollectionWatcher.py
index 8911806..726f6b8 100644
--- a/collection_manager/collection_manager/services/CollectionWatcher.py
+++ b/collection_manager/collection_manager/services/CollectionWatcher.py
@@ -5,8 +5,7 @@ from collections import defaultdict
 from typing import Dict, Callable, Set, Optional, Awaitable
 import yaml
 from watchdog.events import FileSystemEventHandler
-from watchdog.observers import Observer
-from yaml.scanner import ScannerError
+from watchdog.observers.polling import PollingObserver as Observer
 
 from collection_manager.entities import Collection
 from collection_manager.entities.exceptions import RelativePathError, 
CollectionConfigParsingError, \

Reply via email to