Codebase list golang-github-vbauerster-mpb / fc397b5
TestMaxWidthDistributor increment random Vladimir Bauer 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
148148 }
149149 }
150150 time.Sleep((time.Duration(rng.Intn(10)+1) * (50 * time.Millisecond)) / 2)
151 bar.Increment()
151 bar.IncrInt64(rand.Int63n(5) + 1)
152152 bar.DecoratorEwmaUpdate(time.Since(start))
153153 }
154154 }()