Fix delete collection error channel size

This commit is contained in:
Wojciech Tyczyński 2021-10-25 08:07:21 +02:00
parent 89dd275dde
commit f609a8e0b5

View File

@ -1126,7 +1126,7 @@ func (e *Store) DeleteCollection(ctx context.Context, deleteValidation rest.Vali
}
wg := sync.WaitGroup{}
toProcess := make(chan int, 2*workersNumber)
errs := make(chan error, workersNumber)
errs := make(chan error, workersNumber+1)
workersExited := make(chan struct{})
distributorExited := make(chan struct{})