You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by GitBox <gi...@apache.org> on 2020/08/11 14:18:18 UTC

[GitHub] [incubator-sdap-ingester] tloubrieu-jpl commented on a change in pull request #17: SDAP-279: Poll filesystem for file updates

tloubrieu-jpl commented on a change in pull request #17:
URL: https://github.com/apache/incubator-sdap-ingester/pull/17#discussion_r468617699



##########
File path: collection_manager/collection_manager/services/CollectionWatcher.py
##########
@@ -1,12 +1,12 @@
 import asyncio
+import time
 import logging
 import os
 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

Review comment:
       Perfect




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