后端深度清理 Polymarket:删除 readonly 层+WS 缓存+market_scan API
删除 src/data_collection/polymarket_readonly.py(2500行)和 polymarket_ws_cache.py。city_payloads 移除 _get_polymarket_layer/_top_probability_bucket/build_city_market_scan_payload。city.py 移除 /market-scan 和 /holders 路由。scan_terminal 移除 skip_polymarket。
This commit is contained in:
@@ -47,7 +47,6 @@ async def get_scan_terminal_payload(
|
||||
limit: int = 25,
|
||||
force_refresh: bool = False,
|
||||
region: str = "",
|
||||
skip_polymarket: bool = False,
|
||||
timezone_offset_seconds: int | None = None,
|
||||
) -> Dict[str, Any]:
|
||||
legacy_routes._assert_entitlement(request)
|
||||
@@ -61,7 +60,6 @@ async def get_scan_terminal_payload(
|
||||
"market_type": market_type,
|
||||
"time_range": time_range,
|
||||
"limit": limit,
|
||||
"skip_polymarket": skip_polymarket,
|
||||
}
|
||||
if timezone_offset_seconds is not None:
|
||||
filters["timezone_offset_seconds"] = timezone_offset_seconds
|
||||
|
||||
Reference in New Issue
Block a user