INNER CODE UNIT · Go
func
jaegertracing/jaeger-operator · pkg/autoclean/main.go:49
func (b *Background) Start() {
b.ticker = time.NewTicker(5 * time.Second)
b.autoClean()
go func() {
for {
<-b.ticker.C
b.autoClean()
}
}()
}
// Stop causes the background process to stop auto clean capabilities
func (b *Background) Stop() {
b.ticker.Stop()
}
func (b *Background) autoClean() {