mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix documentation for update_speed_ring()
* progress.c (update_speed_ring): The comment for the function incorrectly stated that the function uses thirty samples from the past instead of twenty. Reported-By: Yi Li <lovelylich@gmail.com>
This commit is contained in:
parent
9b1dd6dab8
commit
b6b1388fb7
@ -693,7 +693,7 @@ bar_finish (void *progress, double dltime)
|
|||||||
The idea is that for fast downloads, we get the speed over exactly
|
The idea is that for fast downloads, we get the speed over exactly
|
||||||
the last three seconds. For slow downloads (where a network read
|
the last three seconds. For slow downloads (where a network read
|
||||||
takes more than 150ms to complete), we get the speed over a larger
|
takes more than 150ms to complete), we get the speed over a larger
|
||||||
time period, as large as it takes to complete thirty reads. This
|
time period, as large as it takes to complete twenty reads. This
|
||||||
is good because slow downloads tend to fluctuate more and a
|
is good because slow downloads tend to fluctuate more and a
|
||||||
3-second average would be too erratic. */
|
3-second average would be too erratic. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user