perf: 收敛后端资源与健康检查开销
- 缩小模块扫描范围并显式注册各业务模块自动配置 - 增加可配置线程池、MQ 连接池与消费线程池,降低默认资源占用 - 将 RAG 与分析库中间件探活下沉到健康检查并增加短缓存 - 补齐文档向量库生命周期释放与 SSE 断连清理
This commit is contained in:
@@ -4,7 +4,14 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ComponentScan({"tech.easyflow"})
|
||||
@ComponentScan({
|
||||
"tech.easyflow.admin",
|
||||
"tech.easyflow.usercenter",
|
||||
"tech.easyflow.publicapi",
|
||||
"tech.easyflow.common",
|
||||
"tech.easyflow.core",
|
||||
"tech.easyflow.autoconfig"
|
||||
})
|
||||
@org.springframework.boot.autoconfigure.AutoConfiguration
|
||||
public class AutoConfig {
|
||||
public AutoConfig() {
|
||||
|
||||
Reference in New Issue
Block a user