Decrease the waitgroup when batch errors
This commit is contained in:
parent
2005013046
commit
84a34c2415
@ -176,6 +176,9 @@ func (q *TransferQueue) batchApiRoutine() {
|
||||
go q.legacyFallback(batch)
|
||||
return
|
||||
}
|
||||
|
||||
q.wait.Add(-len(transfers))
|
||||
|
||||
q.errorc <- err
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user