Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call functions to enable block/mutex pprof profiles.
According to the documentation[1], specific functions must be called for block and mutex pprof profiles to be generated actually. This change does so in case the debug mode is enabled. [1]https://golang.org/pkg/net/http/pprof/
- Loading branch information