1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00

increase background sync period to 5 mins

This commit is contained in:
Shuting Zhao 2020-05-15 18:54:31 -07:00
parent b9d38d2fd3
commit c79f166dd3

View file

@ -153,7 +153,7 @@ func (gen *Generator) Run(workers int, stopCh <-chan struct{}) {
}
for i := 0; i < workers; i++ {
go wait.Until(gen.runWorker, time.Second, stopCh)
go wait.Until(gen.runWorker, 5*time.Minute, stopCh)
}
<-stopCh
}