This commit is contained in:
2025-07-28 16:13:59 +08:00
parent c12bd0f0db
commit f3bb7b8a7b
2 changed files with 18 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ func (a *Application) Run() error {
a.logger.Error("Failed to start container", zap.Error(err))
return err
}
a.logger.Info("Container started successfully, setting up graceful shutdown...")
// 设置优雅关闭
a.setupGracefulShutdown()