add zlm keepalive

This commit is contained in:
xugo
2025-01-12 03:51:34 +08:00
parent 28f20b675b
commit 25fe262407
46 changed files with 1905 additions and 16 deletions
+1
View File
@@ -92,6 +92,7 @@ func main() {
case s := <-interrupt:
slog.Info(`<-interrupt`, "signal", s.String())
case err := <-svc.Notify():
system.ErrPrintf("err: %s\n", err.Error())
slog.Error(`<-server.Notify()`, "err", err)
}
if err := svc.Shutdown(); err != nil {