Performance Improvements
This release fixes MCP error-32001 (Request timed out) by parallelizing tool execution.
Changes
-
perf(utils): Add async parallel execution for
ak_cacheandak_search- New
ThreadPoolExecutorfor running blocking akshare calls in parallel - New
ak_cache_async: Async version that runs blocking calls in thread pool - New
ak_search_async: Parallel data fetching across 13 market sources (~10x faster)
- New
-
perf(tools): Parallelize composite diagnostic tools
composite_stock_diagnostic: Run price/info/news fetches in parallel (~3x faster)crypto_composite_diagnostic: Run price/sentiment/AI report in parallel (~3x faster)search: Useak_search_asyncfor parallel market queries (~10x faster)
Impact
Tools that previously timed out due to sequential API calls now complete within MCP client timeout limits.