From ec8b5c9c7f9153433f1e505ac3e08423bdd76712 Mon Sep 17 00:00:00 2001 From: Seednode Date: Wed, 6 Sep 2023 09:06:44 -0500 Subject: [PATCH] Import net/http/pprof --- cmd/root.go | 2 +- cmd/web.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 38963ba..87d426c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -17,7 +17,7 @@ var ( ) const ( - Version string = "0.57.2" + Version string = "0.57.3" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 1fff029..d13869b 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -28,6 +28,8 @@ import ( "syscall" "time" + _ "net/http/pprof" + "github.com/julienschmidt/httprouter" "github.com/klauspost/compress/zstd" "github.com/yosssi/gohtml"