diff --git a/internal/debug/flags.go b/internal/debug/flags.go index 1f7b106fa7..dac878a7b1 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -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 {