(ctx context.Context)
| 35 | } |
| 36 | |
| 37 | func (s *Service) shutdownPprof(ctx context.Context) error { |
| 38 | if s == nil || s.pprofServer == nil { |
| 39 | return nil |
| 40 | } |
| 41 | return s.pprofServer.Shutdown(ctx) |
| 42 | } |
| 43 | |
| 44 | func (p *pprofServer) Apply(cfg *config.Config) { |
| 45 | if p == nil || cfg == nil { |