Explorar o código

Re-enable profiler.

Mariano Cano %!s(int64=7) %!d(string=hai) anos
pai
achega
401fc20e96
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      cmd/step-ca/main.go

+ 3 - 0
cmd/step-ca/main.go

@@ -13,6 +13,9 @@ import (
 	"strconv"
 	"time"
 
+	// Server profiler
+	_ "net/http/pprof"
+
 	"github.com/smallstep/certificates/authority"
 	"github.com/smallstep/certificates/commands"
 	"github.com/smallstep/cli/command"