Browse Source

remove memory profile

RockyJin 5 years atrás
parent
commit
1742d4c196
1 changed files with 0 additions and 3 deletions
  1. 0 3
      xstream/server/main.go

+ 0 - 3
xstream/server/main.go

@@ -14,7 +14,6 @@ import (
 	"path"
 	"strings"
 	"time"
-	_ "net/http/pprof"
 )
 var dataDir string
 var log = common.Log
@@ -274,8 +273,6 @@ func init(){
 var Version string = "unknown"
 
 func main() {
-	go func() { log.Println(http.ListenAndServe("localhost:6060", nil)) }()
-
 	server := new(Server)
 	//Start rules
 	if rules, err := processor.GetAllRules(); err != nil{