From 5a1c0aca3c11deace2b8ec4018ca93318c13273a Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Thu, 29 Feb 2024 10:08:28 +0800 Subject: [PATCH] fix: del the undifined func --- internal/api/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/route.go b/internal/api/route.go index 79d0e0850..7eb0980e4 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -120,7 +120,7 @@ func Start(config *config.GlobalConfig, port int, proPort int) error { defer cancel() select { case <-sigs: - util.SIGUSR1Exit() + util.SIGTERMExit() err := server.Shutdown(ctx) if err != nil { return errs.Wrap(err, "shutdown err")