eamonford commented on a change in pull request #17: URL: https://github.com/apache/incubator-sdap-ingester/pull/17#discussion_r468314366
########## 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: This line is very important as it tells the `watchdog` library to poll the filesystem instead of listening for events. Nothing else needed to change ---------------------------------------------------------------- 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: us...@infra.apache.org