Skip to content

Commit

Permalink
fix #3251 (#3254)
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git authored Jan 11, 2024
1 parent 42e3c5f commit ca242ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ghttp/ghttp_server_pprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
// StartPProfServer starts and runs a new server for pprof.
func StartPProfServer(port int, pattern ...string) {
s := GetServer(defaultPProfServerName)
s.EnablePProf()
s.EnablePProf(pattern...)
s.SetPort(port)
s.Run()
}
Expand Down

0 comments on commit ca242ff

Please sign in to comment.