Skip to content

Commit

Permalink
Merge pull request #252 from mreiferson/cpu_profile_endpoint_252
Browse files Browse the repository at this point in the history
nsqd: use correct CPU profile endpoint
  • Loading branch information
jehiah committed Aug 18, 2013
2 parents 8463add + dba5d02 commit c64da54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsqd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *httpServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
httpprof.Handler("heap").ServeHTTP(w, req)
case "/debug/pprof/goroutine":
httpprof.Handler("goroutine").ServeHTTP(w, req)
case "/debug/pprof/cpu":
case "/debug/pprof/profile":
httpprof.Profile(w, req)
case "/debug/pprof/block":
httpprof.Handler("block").ServeHTTP(w, req)
Expand Down

0 comments on commit c64da54

Please sign in to comment.