Permalink
Browse files

Don't use http/pprof, since it's not available on GAE.

  • Loading branch information...
1 parent 18e4a9c commit 41340d6f6ba29b7bdab1672bd26073d2a9eab277 @bjornt committed Nov 5, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 web.go
View
5 web.go
@@ -6,7 +6,6 @@ import (
"encoding/base64"
"fmt"
"http"
- "http/pprof"
"io/ioutil"
"log"
"mime"
@@ -423,10 +422,6 @@ func (s *Server) Run(addr string) {
mux := http.NewServeMux()
- mux.Handle("/debug/pprof/cmdline", http.HandlerFunc(pprof.Cmdline))
- mux.Handle("/debug/pprof/profile", http.HandlerFunc(pprof.Profile))
- mux.Handle("/debug/pprof/heap", http.HandlerFunc(pprof.Heap))
- mux.Handle("/debug/pprof/symbol", http.HandlerFunc(pprof.Symbol))
mux.Handle("/", s)
s.Logger.Printf("web.go serving %s\n", addr)

0 comments on commit 41340d6

Please sign in to comment.