INNER CODE UNIT · Go
pprofStopChan
metacontroller/metacontroller · pkg/cmd/metacontroller/main.go:91
pprofStopChan := profile.EnablePprof(stopCtx, *pprofAddr)
config, err := controllerruntime.GetConfig()
if err != nil {
logging.Logger.Error(err, "Terminating")
os.Exit(1)
}
config.QPS = float32(*clientGoQPS)
config.Burst = *clientGoBurst
configuration := options.Configuration{
RestConfig: config,
DiscoveryInterval: *discoveryInterval,
InformerRelist: *informerRelist,
Workers: *workers,
ApplyStrategy: *applyStrategy,
SsaFieldManager: *ssaFieldManager,
CorrelatorOptions: record.CorrelatorOptions{