diff --git a/router.py b/router.py index 995eb78..54edbf3 100644 --- a/router.py +++ b/router.py @@ -1078,6 +1078,9 @@ class fetch: # If anything goes wrong we cannot reply details message = _format_connection_issue(request_url, e) print(f"[fetch.endpoint_details] {message}") + if not skip_error_cache: + async with _available_error_cache_lock: + _available_error_cache[endpoint] = time.time() return [] def ep2base(ep):