重构名字

This commit is contained in:
2025-11-02 18:16:44 +08:00
parent 3ab2eb0535
commit 011658461e
11 changed files with 56 additions and 56 deletions

View File

@@ -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 {