[vendor] iawia002/annie: further decrease refresh rate

This commit is contained in:
Zhiming Wang 2020-02-09 14:41:11 +08:00
parent 8186c6cdba
commit f3e029b233
No known key found for this signature in database
GPG Key ID: 5B58F95EC95965D8

View File

@ -18,7 +18,7 @@ import (
)
func progressBar(size int64) *pb.ProgressBar {
bar := pb.New64(size).SetUnits(pb.U_BYTES).SetRefreshRate(time.Millisecond * 100)
bar := pb.New64(size).SetUnits(pb.U_BYTES).SetRefreshRate(time.Millisecond * 200)
bar.ShowSpeed = true
bar.ShowFinalTime = true
bar.SetMaxWidth(1000)