Remove pprof endpoint exposure

This commit is contained in:
Tobie Morgan Hitchcock 2021-03-22 19:13:19 +00:00
parent 8bf36e8bf2
commit 5f71e04b41

View file

@ -30,7 +30,6 @@ func Setup(opts *cnf.Options) (err error) {
s := fibre.Server() s := fibre.Server()
routes(s) routes(s)
s.Pprof()
s.SetName("web") s.SetName("web")
s.SetIdleTimeout("5s") s.SetIdleTimeout("5s")
s.SetReadTimeout("30s") s.SetReadTimeout("30s")