refactor: 收敛 factory 模块级副作用并统一 async 路径进度为异步后端

- 将 configure_token_codec/configure_plugin_routes 移入 create_app(),消除 import 期副作用
- runtime 层新增 AsyncCacheProxy/AsyncTTLCache/AsyncProgressHelper,共享 progress region
- search/system/history/scheduler/dashboard 的事件循环路径切换异步进度后端
- 同步进度回调经事件循环提交或线程池执行,避免阻塞事件循环
This commit is contained in:
jxxghp
2026-08-19 09:11:42 +08:00
parent 91d339a8dd
commit 03ada7eb01
9 changed files with 446 additions and 105 deletions
+3 -3
View File
@@ -1652,7 +1652,7 @@
"consumers": [
{
"caller": "app.scheduler",
"line": 1046
"line": 1116
}
],
"producers": []
@@ -1665,7 +1665,7 @@
"consumers": [
{
"caller": "app.chain.search",
"line": 2861
"line": 2864
},
{
"caller": "app.chain.subscribe",
@@ -1813,7 +1813,7 @@
},
{
"caller": "app.scheduler",
"line": 696
"line": 736
}
]
},