Remove debug pprof serving
This commit is contained in:
parent
3cacbdfa18
commit
d2b2fba799
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user