Removed profiler code
This commit is contained in:
parent
eaca1ee1f7
commit
9fef0ca2fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user