From b0a6f8d4b30f5c64894c8a6911a39e078c90be8c Mon Sep 17 00:00:00 2001 From: Philipp Spinnler Date: Mon, 2 Dec 2024 22:14:38 +0100 Subject: [PATCH] lowered cache for weather --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index bc25141..4f01642 100644 --- a/app/main.py +++ b/app/main.py @@ -94,7 +94,7 @@ async def album(): @app.get("/weather") -@cache(expire=21_600) +@cache(expire=3600) async def get_weather( lat: float = Query(47.4176969, description="Latitude"), lon: float = Query(7.7612123, description="Longitude") ):