From 814f103bb477ad8998c6f45dba9aacbef8da868a Mon Sep 17 00:00:00 2001 From: SashegDev Date: Mon, 14 Sep 2026 06:51:13 +0000 Subject: [PATCH] fix: links cache TTL 1h -> 20m --- aggregator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aggregator.py b/aggregator.py index 719adad..c0eba2e 100644 --- a/aggregator.py +++ b/aggregator.py @@ -63,7 +63,7 @@ _background_tasks: List[asyncio.Task] = [] _links_cache: Dict[str, Tuple[List[str], float]] = {} _traffic_cache: Dict[str, Tuple[Dict, float]] = {} CACHE_TTL_TRAFFIC = 120 -CACHE_TTL_LINKS = 3600 +CACHE_TTL_LINKS = 1200 # Server health tracking _server_health: Dict[str, bool] = {}