Skip to content

Find, verify, and analyze leaked credentials

enable mutex and block profiler (#3154)

ahrav170f6ab624d8
diff --git a/main.go b/main.go
index b1f221dcb..0f4a7f5e7 100644
--- a/main.go
+++ b/main.go
@@ -407,6 +407,8 @@ func run(state overseer.State) {
}
if *profile {
+ runtime.SetBlockProfileRate(1)
+ runtime.SetMutexProfileFraction(-1)
go func() {
router := http.NewServeMux()
router.Handle("/debug/pprof/", http.DefaultServeMux)