fix: Increase cache TTL
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ class PrayerTimes(BaseModel):
|
||||
isha: str
|
||||
|
||||
|
||||
@cached(ttl=60*60, cache=Cache.MEMORY)
|
||||
@cached(ttl=3*60*60, cache=Cache.MEMORY)
|
||||
async def parse_prayer_times(url: str) -> List[PrayerTimes]:
|
||||
res = await _http.get(url)
|
||||
res.raise_for_status()
|
||||
|
||||
Reference in New Issue
Block a user