fix(deps): update module github.com/vbauerster/mpb/v8 to v8.4.0

Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
renovate[bot]
2023-04-15 12:49:03 +00:00
committed by GitHub
parent 4d9b63752a
commit 08f137aec2
14 changed files with 185 additions and 170 deletions

View File

@@ -46,6 +46,7 @@ func (m heapManager) run() {
var sync bool
for req := range m {
next:
switch req.cmd {
case h_push:
data := req.data.(pushData)
@@ -78,7 +79,8 @@ func (m heapManager) run() {
select {
case data.iter <- b:
case <-data.drop:
break
close(data.iter)
break next
}
}
close(data.iter)
@@ -88,7 +90,8 @@ func (m heapManager) run() {
select {
case data.iter <- heap.Pop(&bHeap).(*Bar):
case <-data.drop:
break
close(data.iter)
break next
}
}
close(data.iter)