Tweak URL check cache
parent
c160b75851
commit
883f87b6e4
|
@ -65,6 +65,7 @@ def is_url_valid(url: str) -> bool:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
@functools.lru_cache(maxsize=512)
|
||||||
def check_url(url: str) -> None:
|
def check_url(url: str) -> None:
|
||||||
logger.debug(f"check_url {url=}")
|
logger.debug(f"check_url {url=}")
|
||||||
if not is_url_valid(url):
|
if not is_url_valid(url):
|
||||||
|
|
Loading…
Reference in New Issue