Skip to content

Commit

Permalink
flash msgCh buffer size 3
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Mar 20, 2024
1 parent bdc3bdf commit a35e4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion part.go
Expand Up @@ -70,7 +70,7 @@ func (b *flashBar) init(p *Part, curTry *uint32) error {
return nil
}
var barBuilder mpb.BarFillerBuilder
msgCh := make(chan message, 1)
msgCh := make(chan message, 3)
total := p.total()
if total < 0 {
total = 0
Expand Down

0 comments on commit a35e4bf

Please sign in to comment.