Remove google cloud profiler

This commit is contained in:
Peter Stuifzand 2018-05-16 17:29:40 +02:00
parent 9024590457
commit b177dfd82e

View File

@ -31,7 +31,6 @@ import (
"linkheader"
"cloud.google.com/go/profiler"
"github.com/garyburd/redigo/redis"
"github.com/pstuifzand/ekster/microsub"
"github.com/pstuifzand/ekster/pkg/util"
@ -300,14 +299,6 @@ func newPool(addr string) *redis.Pool {
}
func main() {
if err := profiler.Start(profiler.Config{
Service: "microsub-server",
ServiceVersion: "1.0",
ProjectID: "microsub-server", // optional on GCP
}); err != nil {
log.Fatalf("Cannot start the profiler: %v", err)
}
flag.Parse()
createBackend := false