Remove debug pprof serving

This commit is contained in:
zenground0 2023-06-28 10:11:47 -06:00
parent 3cacbdfa18
commit d2b2fba799

View File

@ -6,9 +6,6 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"io" "io"
"net/http"
_ "net/http"
_ "net/http/pprof"
"path" "path"
"reflect" "reflect"
"sort" "sort"
@ -365,9 +362,6 @@ var statSnapshotCmd = &cli.Command{
if err != nil { if err != nil {
return err return err
} }
go func() {
fmt.Println(http.ListenAndServe("localhost:6060", nil))
}()
numWorkers := cctx.Int("workers") numWorkers := cctx.Int("workers")
dagCacheSize := cctx.Int("dag-cache-size") dagCacheSize := cctx.Int("dag-cache-size")