e
This commit is contained in:
parent
00000d9cc3
commit
00000d9181
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ async def get_events(
|
||||||
cached_keys: set[str],
|
cached_keys: set[str],
|
||||||
) -> list[dict[str, str]]:
|
) -> list[dict[str, str]]:
|
||||||
|
|
||||||
if not (events := load_cache(HTML_CACHE, exp=86_400)):
|
if not (events := load_cache(HTML_CACHE, exp=86_400, nearest_hr=True)):
|
||||||
events = await refresh_html_cache(client, url)
|
events = await refresh_html_cache(client, url)
|
||||||
write_cache(HTML_CACHE, events)
|
write_cache(HTML_CACHE, events)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue