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