feat(startup): print service banner after listener ready

This commit is contained in:
ryan
2026-07-13 15:56:30 +08:00
parent 9cac25696a
commit 08fac67f2a
10 changed files with 198 additions and 13 deletions
+1
View File
@@ -18,6 +18,7 @@ var schedulerCmd = &cobra.Command{
Short: "wavelet Scheduler",
Run: func(_ *cobra.Command, _ []string) {
runBootstrap(bootstrap.Options{})
printStartupBanner(startupState{mode: "Scheduler", relationalDB: latestMigrationState.relationalDB, clickHouseDB: latestMigrationState.clickHouseDB})
log.Println("[Scheduler] 启动定时任务调度服务")
if err := scheduler.StartScheduler(); err != nil {
log.Fatalf("[调度器] 启动失败: %v", err)