Commit ff7b3653 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents ff460734 d2529bb6
...@@ -146,7 +146,6 @@ func (e *EndpointController) Run(workers int, stopCh <-chan struct{}) { ...@@ -146,7 +146,6 @@ func (e *EndpointController) Run(workers int, stopCh <-chan struct{}) {
go func() { go func() {
defer utilruntime.HandleCrash() defer utilruntime.HandleCrash()
time.Sleep(5 * time.Minute) // give time for our cache to fill
e.checkLeftoverEndpoints() e.checkLeftoverEndpoints()
}() }()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment