This commit is contained in:
doms9 2025-09-16 13:22:30 -04:00
parent 42bc716b6d
commit 00000d96bd
4 changed files with 4 additions and 4 deletions

View file

@ -120,7 +120,7 @@ async def process_event(
async def main(client: httpx.AsyncClient) -> None:
cached_urls = load_cache(CACHE_FILE, exp=14400)
cached_urls = load_cache(CACHE_FILE, exp=10800)
cached_hrefs = {entry["href"] for entry in cached_urls.values()}
cached_count = len(cached_urls)
urls.update(cached_urls)

View file

@ -279,7 +279,7 @@ async def get_events(
async def main(client: httpx.AsyncClient) -> None:
cached_urls = load_cache(CACHE_FILE, exp=14400)
cached_urls = load_cache(CACHE_FILE, exp=10800)
cached_count = len(cached_urls)
urls.update(cached_urls)

View file

@ -169,7 +169,7 @@ async def get_events(
async def main(client: httpx.AsyncClient) -> None:
cached_urls = load_cache(CACHE_FILE, exp=14400)
cached_urls = load_cache(CACHE_FILE, exp=10800)
cached_count = len(cached_urls)
urls.update(cached_urls)

View file

@ -154,7 +154,7 @@ async def get_events(
async def main(client: httpx.AsyncClient) -> None:
cached_urls = load_cache(CACHE_FILE, exp=14400)
cached_urls = load_cache(CACHE_FILE, exp=10800)
cached_count = len(cached_urls)
urls.update(cached_urls)