重构名字
This commit is contained in:
@@ -84,7 +84,7 @@ func (app *Application) Start() error {
|
||||
}
|
||||
|
||||
// 3. 启动后台工作协程
|
||||
app.Domain.Scheduler.Start()
|
||||
app.Domain.PlanExecutionManager.Start()
|
||||
|
||||
// 4. 启动 API 服务器
|
||||
app.API.Start()
|
||||
@@ -106,7 +106,7 @@ func (app *Application) Stop() error {
|
||||
app.API.Stop()
|
||||
|
||||
// 关闭任务执行器
|
||||
app.Domain.Scheduler.Stop()
|
||||
app.Domain.PlanExecutionManager.Stop()
|
||||
|
||||
// 断开数据库连接
|
||||
if err := app.Infra.Storage.Disconnect(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user