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

give the thread a name

parent 122cf765
No related branches found
No related tags found
No related merge requests found
......@@ -631,7 +631,7 @@ def main() -> int | None:
# maybe add loading/storing cache to disk after exits?
cache = defaultdict(_cache_entry)
LOG.debug('Starting cache cleaner')
threading.Thread(target=_cache_cleaner, args=(cache, args.clean_interval, args.cache_ttl), daemon=True).start()
threading.Thread(name='grib_pipeline_cleaner', target=_cache_cleaner, args=(cache, args.clean_interval, args.cache_ttl), daemon=True).start()
try:
gribs_from_dir(args.grib_dir, cache, args.watch_debounce)
......
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