Add http pprof profile debugging
This commit is contained in:
parent
66314ef074
commit
36838d2198
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ func Setup(opts *cnf.Options) (err error) {
|
|||
s := fibre.Server()
|
||||
|
||||
routes(s)
|
||||
s.Pprof()
|
||||
s.SetName("web")
|
||||
s.SetIdleTimeout("5s")
|
||||
s.SetReadTimeout("30s")
|
||||
|
|
Loading…
Reference in a new issue