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