Skip to content

Commit

Permalink
Decrease the EMA decay constant so progress bar is more responsive.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbockelm committed Sep 28, 2023
1 parent 50d782b commit bb1a4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handle_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func DownloadHTTP(transfer TransferDetails, dest string, token string) (int64, e
mpb.AppendDecorators(
decor.OnComplete(decor.EwmaETA(decor.ET_STYLE_GO, 90), ""),
decor.OnComplete(decor.Name(" ] "), ""),
decor.OnComplete(decor.EwmaSpeed(decor.SizeB1024(0), "% .2f", 20), "Done!"),
decor.OnComplete(decor.EwmaSpeed(decor.SizeB1024(0), "% .2f", 5), "Done!"),
),
)
}
Expand Down

0 comments on commit bb1a4c6

Please sign in to comment.