Removed profiler code

This commit is contained in:
Mathias Hall-Andersen 2017-12-02 00:00:45 +01:00
parent eaca1ee1f7
commit 9fef0ca2fb

View file

@ -8,10 +8,6 @@ import (
"strconv"
)
import _ "net/http/pprof"
import "net/http"
import "log"
const (
ExitSetupSuccess = 0
ExitSetupFailed = 1
@ -29,10 +25,6 @@ func printUsage() {
func main() {
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
// parse arguments
var foreground bool