• Kubernetes Submit Queue's avatar
    Merge pull request #37137 from ingvagabund/stop-controller-when-the-stop-channel-is-closed · 28123f95
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Stop controller when the stop channel is closed (when queue is empty and Pop is hanging)
    
    Fixes: #28158
    
    When a ``Pop`` function is invoked over empty queue, the control loop inside the functions is stacked indefinitely. In order to break the loop, introduce logic that waits for a signal to exit the loop.
    
    Intention of the PR is not to handle situation where manipulation operations are invoked over closed queue. Intention is to break the indefinite loop.
    28123f95
Name
Last commit
Last update
..
src/k8s.io Loading commit data...
README.md Loading commit data...
copy.sh Loading commit data...
godeps-json-updater.go Loading commit data...
prime-apimachinery.sh Loading commit data...