Skip to content

Commit

Permalink
Revert "enable block and mutex profiling in pprof (#6)"
Browse files Browse the repository at this point in the history
This reverts commit 3fb2ae8.
  • Loading branch information
bnoieh committed Oct 29, 2024
1 parent ace3c14 commit 480f68d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/debug/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,6 @@ func StartPProf(address string, withMetrics bool) {
exp.Exp(metrics.DefaultRegistry)
}
http.Handle("/memsize/", http.StripPrefix("/memsize", &Memsize))
runtime.SetBlockProfileRate(1)
runtime.SetMutexProfileFraction(1)
log.Info("Starting pprof server", "addr", fmt.Sprintf("http://%s/debug/pprof", address))
go func() {
if err := http.ListenAndServe(address, nil); err != nil {
Expand Down

0 comments on commit 480f68d

Please sign in to comment.