Fix delete collection error channel size
Kubernetes-commit: f609a8e0b525ee22b3ea1a850a3b0504627525ea
This commit is contained in:
parent
c6a8965948
commit
0f1abbd5e4
|
|
@ -1126,7 +1126,7 @@ func (e *Store) DeleteCollection(ctx context.Context, deleteValidation rest.Vali
|
||||||
}
|
}
|
||||||
wg := sync.WaitGroup{}
|
wg := sync.WaitGroup{}
|
||||||
toProcess := make(chan int, 2*workersNumber)
|
toProcess := make(chan int, 2*workersNumber)
|
||||||
errs := make(chan error, workersNumber)
|
errs := make(chan error, workersNumber+1)
|
||||||
workersExited := make(chan struct{})
|
workersExited := make(chan struct{})
|
||||||
distributorExited := make(chan struct{})
|
distributorExited := make(chan struct{})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue