Skip to content

Commit 9975fb8

Browse files
committed
OMQ_FGROF -> OMQ_FGPROF
1 parent 97cf3ec commit 9975fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func main() {
2020
defer pprof.StopCPUProfile()
2121
_ = pprof.StartCPUProfile(cpuFile)
2222
}
23-
if os.Getenv("OMQ_FGROF") == "true" {
23+
if os.Getenv("OMQ_FGPROF") == "true" {
2424
http.DefaultServeMux.Handle("/debug/fgprof", fgprof.Handler())
2525
go func() {
2626
_ = http.ListenAndServe(":6060", nil)

0 commit comments

Comments
 (0)