mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 01:41:54 -04:00
Avoid sleep in endpoint controller
This commit is contained in:
parent
151846db80
commit
d2529bb6b6
1 changed files with 0 additions and 1 deletions
|
|
@ -146,7 +146,6 @@ func (e *EndpointController) Run(workers int, stopCh <-chan struct{}) {
|
|||
|
||||
go func() {
|
||||
defer utilruntime.HandleCrash()
|
||||
time.Sleep(5 * time.Minute) // give time for our cache to fill
|
||||
e.checkLeftoverEndpoints()
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue