Stop legacy city refreshes from fetching sources

This commit is contained in:
2569718930@qq.com
2026-06-14 22:51:15 +08:00
parent a9e9eed2f1
commit 7fb82c5eba
4 changed files with 247 additions and 47 deletions
+1 -1
View File
@@ -763,7 +763,7 @@ async def get_city_detail_payload(
_request_city_cache_refresh(city, "market")
return canonical_payload
return _queue_and_build_initializing_city_payload(city, kind="market")
return await run_in_threadpool(legacy_routes._analyze, city, force_refresh, False, detail_mode)
return _queue_and_build_initializing_city_payload(city, kind=detail_mode)
async def get_city_summary_payload(