From f3e029b2332d3a233672f34a84cacdf9f9e82cb6 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 9 Feb 2020 14:41:11 +0800 Subject: [PATCH] [vendor] iawia002/annie: further decrease 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 502972f..e457494 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 * 100) + bar := pb.New64(size).SetUnits(pb.U_BYTES).SetRefreshRate(time.Millisecond * 200) bar.ShowSpeed = true bar.ShowFinalTime = true bar.SetMaxWidth(1000)