Merge pull request #46095 from wojtek-t/avoid_sleep_in_endpoint_controller

Automatic merge from submit-queue (batch tested with PRs 46075, 46059, 46095, 46097)

Avoid sleep in endpoint controller
pull/6/head
Kubernetes Submit Queue 2017-05-19 08:35:10 -07:00 committed by GitHub
commit ff7b3653fd
1 changed files with 0 additions and 1 deletions

View File

@ -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()
}()