mirror of
https://github.com/gowvp/gb28181.git
synced 2026-04-22 23:17:19 +08:00
add zlm keepalive
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user