Codebase list golang-github-vbauerster-mpb / b684178
stress example: use default rr Vladimir Bauer 4 years ago
1 changed file(s) with 1 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1515
1616 func main() {
1717 var wg sync.WaitGroup
18 p := mpb.New(
19 mpb.WithWaitGroup(&wg),
20 mpb.WithRefreshRate(50*time.Millisecond),
21 )
18 p := mpb.New(mpb.WithWaitGroup(&wg))
2219 wg.Add(totalBars)
2320
2421 for i := 0; i < totalBars; i++ {