INNER CODE UNIT · Go

func

jaegertracing/jaeger-operator · pkg/autodetect/main.go:68

func (b *Background) Start() {
	// periodically attempts to auto detect all the capabilities for this operator
	b.ticker = time.NewTicker(5 * time.Second)
	b.autoDetectCapabilities()
	log.Log.V(-1).Info("finished the first auto-detection")

	go func() {
		for {
			<-b.ticker.C
			b.autoDetectCapabilities()
		}
	}()
}

// Stop causes the background process to stop auto detecting capabilities
func (b *Background) Stop() {
	b.ticker.Stop()
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…