From d6f5559fa7d0d05db57eb4fb6a61ac7e8cf3731a Mon Sep 17 00:00:00 2001 From: DarthSim Date: Fri, 5 Oct 2018 22:34:57 +0600 Subject: [PATCH] Disable profiling --- main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.go b/main.go index c370d244..c42a8260 100644 --- a/main.go +++ b/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)