Browse Source

Disable profiling

DarthSim 6 years ago
parent
commit
d6f5559fa7
1 changed files with 0 additions and 6 deletions
  1. 0 6
      main.go

+ 0 - 6
main.go

@@ -1,11 +1,9 @@
 package main
 
 import (
-	"log"
 	"os"
 	"os/signal"
 
-	"net/http"
 	_ "net/http/pprof"
 )
 
@@ -14,10 +12,6 @@ const version = "2.0.0"
 type ctxKey string
 
 func main() {
-	go func() {
-		log.Println(http.ListenAndServe("localhost:6060", nil))
-	}()
-
 	s := startServer()
 
 	stop := make(chan os.Signal, 1)