Skip to content

Commit

Permalink
use default ewma age in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Aug 16, 2024
1 parent 23b8427 commit e915e3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _examples/io/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func main() {
mpb.AppendDecorators(
decor.EwmaETA(decor.ET_STYLE_GO, 30),
decor.Name(" ] "),
decor.EwmaSpeed(decor.SizeB1024(0), "% .2f", 60),
decor.EwmaSpeed(decor.SizeB1024(0), "% .2f", 30),
),
)

Expand Down
2 changes: 1 addition & 1 deletion _examples/poplog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func main() {
),
mpb.AppendDecorators(
decor.OnComplete(decor.Name(" "), ""),
decor.OnComplete(decor.EwmaETA(decor.ET_STYLE_GO, 60), ""),
decor.OnComplete(decor.EwmaETA(decor.ET_STYLE_GO, 30), ""),
),
)
// simulating some work
Expand Down

0 comments on commit e915e3c

Please sign in to comment.