Skip to content
Snippets Groups Projects
Commit 1ae01359 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Increase calendar cache time to one hour

parent b1ea9ce0
No related branches found
No related tags found
1 merge request!55Resolve "Cache iCal data"
Pipeline #17991 passed
......@@ -68,7 +68,7 @@ def get_current_events(calendar: Calendar, limit: int = 5) -> list:
return events
@cache_memoize(300)
@cache_memoize(3600)
def get_current_events_with_cal(calendar_url: str, limit: int = 5) -> list:
"""Get current events.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment