修复 marketOverview 移除后的导入错误

This commit is contained in:
2569718930@qq.com
2026-05-25 23:09:37 +08:00
parent c2bb9d3901
commit a6367ab7c2
3 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -9,9 +9,11 @@ import time
from datetime import datetime
from typing import Any, Dict, List, Optional
from src.utils.refresh_policy import MARKET_OVERVIEW_TTL_SEC
_OVERVIEW_CACHE: Dict[str, Dict[str, Any]] = {}
_OVERVIEW_CACHE_LOCK = threading.Lock()
OVERVIEW_CACHE_TTL_SEC = 600
OVERVIEW_CACHE_TTL_SEC = MARKET_OVERVIEW_TTL_SEC
def _safe_float(value: Any) -> Optional[float]: