[Feature request] DataSourceManager.initDataSource 时提升效率 #4003
geekberryonekey
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The feature, motivation(功能、动机)
目前在使用 dataSource 链接多个数据源时, 每个数据源的链接是串行执行的. 在数据源数量较多或者部分链接较慢时, 会导致启动时间非常长
Alternatives(替代方案)
midway/packages/core/src/common/dataSourceManager.ts
Line 61 in 0edf6c1
将
改为
结构
Additional context(其他上下文)
@midwayjs/core 3.15.0
Beta Was this translation helpful? Give feedback.
All reactions