We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cf3ec commit 9975fb8Copy full SHA for 9975fb8
main.go
@@ -20,7 +20,7 @@ func main() {
20
defer pprof.StopCPUProfile()
21
_ = pprof.StartCPUProfile(cpuFile)
22
}
23
- if os.Getenv("OMQ_FGROF") == "true" {
+ if os.Getenv("OMQ_FGPROF") == "true" {
24
http.DefaultServeMux.Handle("/debug/fgprof", fgprof.Handler())
25
go func() {
26
_ = http.ListenAndServe(":6060", nil)
0 commit comments