From ae7339907dd794b40d513e8f77fd4cdddd7b139f Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 8 Feb 2020 21:29:14 +0800 Subject: [PATCH] [vendor] iawia002/annie: decrease progress bar refresh rate --- vendor/github.com/iawia002/annie/downloader/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/iawia002/annie/downloader/downloader.go b/vendor/github.com/iawia002/annie/downloader/downloader.go index 914c6ad..502972f 100644 --- a/vendor/github.com/iawia002/annie/downloader/downloader.go +++ b/vendor/github.com/iawia002/annie/downloader/downloader.go @@ -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)