Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
刘河 committed Feb 17, 2019
1 parent 9f03c2f commit f2329f7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/nps/nps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand All @@ -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 {
Expand Down

0 comments on commit f2329f7

Please sign in to comment.