This commit is contained in:
1-6
2023-07-26 15:50:24 +08:00
parent 859133c0a2
commit 5eeb4ccd83
3 changed files with 42 additions and 32 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ func initWeb() {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
if err := srvs[0].Shutdown(ctx); err == nil {
logs.Info("Http服务(%d)关闭", old)
logs.Info("Http服务(%v)关闭", old)
}
srvs = srvs[1:]
}