fix: available_error_cache poisoning
This commit is contained in:
parent
5170162a80
commit
81013ec3b1
1 changed files with 0 additions and 3 deletions
|
|
@ -1007,9 +1007,6 @@ class fetch:
|
||||||
# If anything goes wrong we cannot reply details
|
# If anything goes wrong we cannot reply details
|
||||||
message = _format_connection_issue(request_url, e)
|
message = _format_connection_issue(request_url, e)
|
||||||
print(f"[fetch.endpoint_details] {message}")
|
print(f"[fetch.endpoint_details] {message}")
|
||||||
# Record failure so subsequent calls skip this endpoint briefly
|
|
||||||
async with _available_error_cache_lock:
|
|
||||||
_available_error_cache[endpoint] = time.time()
|
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def ep2base(ep):
|
def ep2base(ep):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue