Codebase list golang-github-vbauerster-mpb / e8edb03
minor: toggle Vladimir Bauer 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
282282 }
283283 select {
284284 case b.operateState <- func(s *bState) {
285 s.ewmaUpdate(n, dur)
285286 s.current += n
286 s.ewmaUpdate(n, dur)
287287 if s.triggerComplete && s.current >= s.total {
288288 s.current = s.total
289289 s.completed = true