From 6de61424e4401da3b068e1ac0f615ac3f03802c9 Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Mon, 30 Sep 2019 17:25:45 -0600 Subject: [PATCH] add pprof server --- cmd/lotus/rpc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/lotus/rpc.go b/cmd/lotus/rpc.go index 358e4cd3e..edf32b8e5 100644 --- a/cmd/lotus/rpc.go +++ b/cmd/lotus/rpc.go @@ -3,6 +3,7 @@ package main import ( "context" "net/http" + _ "net/http/pprof" "os" "os/signal" "syscall"