mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
resource quota full resync was removed in error
This commit is contained in:
parent
48caf95a6c
commit
430f078f93
@ -255,7 +255,8 @@ func (rq *ResourceQuotaController) Run(workers int, stopCh <-chan struct{}) {
|
|||||||
go wait.Until(rq.worker(rq.queue), time.Second, stopCh)
|
go wait.Until(rq.worker(rq.queue), time.Second, stopCh)
|
||||||
go wait.Until(rq.worker(rq.missingUsageQueue), time.Second, stopCh)
|
go wait.Until(rq.worker(rq.missingUsageQueue), time.Second, stopCh)
|
||||||
}
|
}
|
||||||
|
// the timer for how often we do a full recalculation across all quotas
|
||||||
|
go wait.Until(func() { rq.enqueueAll() }, rq.resyncPeriod(), stopCh)
|
||||||
<-stopCh
|
<-stopCh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user