Skip to content
Snippets Groups Projects
Commit dfd1c401 authored by Max Drexler's avatar Max Drexler
Browse files

fix bug with cache cleaning time

parent 9cc59261
No related branches found
No related tags found
No related merge requests found
......@@ -189,6 +189,7 @@ def realtime(file_iter: Iterable[str]) -> Generator[GribPayload, None, None]:
if time.time() - last_clean_time > CACHE_CLEAN_INTERVAL:
LOG.info("realtime - time to clean the cache")
_clean_caches(cache)
last_clean_time = time.time()
def grib_filter(change: Change, path: str) -> bool:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment