From f2329f72f6b277fc28c70e1553cfe402d2a623d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Sun, 17 Feb 2019 19:37:54 +0800 Subject: [PATCH] bug --- cmd/nps/nps.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/nps/nps.go b/cmd/nps/nps.go index 8a17719..18f1600 100644 --- a/cmd/nps/nps.go +++ b/cmd/nps/nps.go @@ -12,8 +12,6 @@ import ( "github.com/cnlh/nps/vender/github.com/astaxie/beego" _ "github.com/cnlh/nps/web/routers" "log" - "net/http" - _ "net/http/pprof" "os" "path/filepath" ) @@ -40,9 +38,6 @@ func main() { return } } - go func() { - http.ListenAndServe("0.0.0.0:8899", nil) - }() if *logType == "stdout" { lg.InitLogFile("nps", true, common.GetLogPath()) } else {