diff --git a/src/config.py b/src/config.py index 97c62b4..cf53c68 100644 --- a/src/config.py +++ b/src/config.py @@ -86,6 +86,8 @@ class Config: "yes", ) HII_BASIN_CODE = int(os.getenv("HII_BASIN_CODE", "6")) # 6 = Ping Basin + # TTL for the /api/hii/*/latest response cache; source data changes hourly + HII_CACHE_TTL_SECONDS = int(os.getenv("HII_CACHE_TTL_SECONDS", "120")) # Umami analytics (self-hosted). The website id is public (it ships in the # dashboard