fix: 优雅关停超时不再跳过 Cleanup,避免缓冲的用量/计费记录丢失

This commit is contained in:
feitianbubu
2026-07-20 21:31:25 +08:00
parent e625ce3b3b
commit 304fcb04e3
+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")