Removed profiler code
This commit is contained in:
parent
eaca1ee1f7
commit
9fef0ca2fb
|
@ -8,10 +8,6 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
import _ "net/http/pprof"
|
|
||||||
import "net/http"
|
|
||||||
import "log"
|
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ExitSetupSuccess = 0
|
ExitSetupSuccess = 0
|
||||||
ExitSetupFailed = 1
|
ExitSetupFailed = 1
|
||||||
|
@ -29,10 +25,6 @@ func printUsage() {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
go func() {
|
|
||||||
log.Println(http.ListenAndServe("localhost:6060", nil))
|
|
||||||
}()
|
|
||||||
|
|
||||||
// parse arguments
|
// parse arguments
|
||||||
|
|
||||||
var foreground bool
|
var foreground bool
|
||||||
|
|
Loading…
Reference in a new issue