From cc1a9a3b77305a5b1c650d69b74e47f31a3a697a Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Wed, 11 Mar 2026 04:10:23 +0800 Subject: [PATCH] perf: increase Open-Meteo and Meteoblue cache TTL to 2 hours to reduce API rate limit bursts --- .env.example | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index f2dd1d6d..36c68bc1 100644 --- a/.env.example +++ b/.env.example @@ -15,7 +15,12 @@ GROQ_API_KEY=your_groq_api_key_here # Meteoblue METEOBLUE_API_KEY=your_meteoblue_api_key_here -METEOBLUE_CACHE_TTL_SEC=1800 +METEOBLUE_CACHE_TTL_SEC=7200 + +# Open-Meteo (forecast data changes ~hourly, no need to refresh more often) +OPEN_METEO_CACHE_TTL_SEC=7200 +OPEN_METEO_ENSEMBLE_CACHE_TTL_SEC=7200 +OPEN_METEO_MULTI_MODEL_CACHE_TTL_SEC=7200 # Proxy Setting (optional) HTTPS_PROXY=http://127.0.0.1:7890