fix: links cache TTL 1h -> 20m
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ _background_tasks: List[asyncio.Task] = []
|
|||||||
_links_cache: Dict[str, Tuple[List[str], float]] = {}
|
_links_cache: Dict[str, Tuple[List[str], float]] = {}
|
||||||
_traffic_cache: Dict[str, Tuple[Dict, float]] = {}
|
_traffic_cache: Dict[str, Tuple[Dict, float]] = {}
|
||||||
CACHE_TTL_TRAFFIC = 120
|
CACHE_TTL_TRAFFIC = 120
|
||||||
CACHE_TTL_LINKS = 3600
|
CACHE_TTL_LINKS = 1200
|
||||||
|
|
||||||
# Server health tracking
|
# Server health tracking
|
||||||
_server_health: Dict[str, bool] = {}
|
_server_health: Dict[str, bool] = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user