[Bug] Speed miscalculation on download resume
chromer030 opened this issue · comments
rmoghadam commented
user@user ~/Desktop % ./dlm -i dlm.txt -M 1 -o /run/media/user/Data/
[2022-02-04 18:26:48] Starting dlm with at most 1 concurrent downloads
[2022-02-04 18:26:48] Found 1 URLs in input file dlm.txt
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0/1
InstallAssistant.pkg [00:00:11] [##################################>-----] 9.87GiB/11.32GiB (speed:953.67MiB/s) (eta:2s)
rmoghadam commented
Arnaud Gourlay commented
I have noticed those two issues as well 👍
I believe they are caused by issues in the progress bar library indicatif.
A new version of the library which revisits many of its internal parts is about to be released, so I propose to keep this issue open until we can test drive it.
Arnaud Gourlay commented
0.2.6 was released with the update to the latest RC from indicatif.
You could give it a try to see if it fixes this issue.
Arnaud Gourlay commented
Closing as I have not witnessed this issue in the latest versions.