Merge pull request #4659 from feitianbubu/fix/graceful-shutdown-cleanup

fix: 优雅关停超时不再跳过 Cleanup,避免缓冲的用量/计费记录丢失
This commit is contained in:
Wesley Liddick authored and GitHub committed 2026-07-21 10:40:03 +08:00
commit e5384ac13b
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ func runMainServer() {
defer cancel()
if err := app.Server.Shutdown(ctx); err != nil {
log.Fatalf("Server forced to shutdown: %v", err)
log.Printf("Server forced to shutdown: %v", err)
}
log.Println("Server exited")