[vendor] iawia002/annie: decrease progress bar refresh rate
This commit is contained in:
parent
81ee0f1dce
commit
ae7339907d
2
vendor/github.com/iawia002/annie/downloader/downloader.go
generated
vendored
2
vendor/github.com/iawia002/annie/downloader/downloader.go
generated
vendored
@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
func progressBar(size int64) *pb.ProgressBar {
|
||||
bar := pb.New64(size).SetUnits(pb.U_BYTES).SetRefreshRate(time.Millisecond * 10)
|
||||
bar := pb.New64(size).SetUnits(pb.U_BYTES).SetRefreshRate(time.Millisecond * 100)
|
||||
bar.ShowSpeed = true
|
||||
bar.ShowFinalTime = true
|
||||
bar.SetMaxWidth(1000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user