Skip to content

Commit

Permalink
fix gogf#3251
Browse files Browse the repository at this point in the history
  • Loading branch information
oldme-git committed Jan 9, 2024
1 parent 4f4d2c2 commit 96fbb6e
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 96fbb6e

Please sign in to comment.