Don't signal when lowering number of waiting routines
Signal is not needed as we never need to wake up when the waiting is lowered, only when increased. Kubernetes-commit: e6b54149bb42d58301e34872ebbcf2ea4bcfb474
This commit is contained in:
parent
be4e4c6bdd
commit
9af63b1bc9
|
|
@ -125,5 +125,4 @@ func (pr *conditionalProgressRequester) Remove() {
|
||||||
pr.mux.Lock()
|
pr.mux.Lock()
|
||||||
defer pr.mux.Unlock()
|
defer pr.mux.Unlock()
|
||||||
pr.waiting -= 1
|
pr.waiting -= 1
|
||||||
pr.cond.Signal()
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue