mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 16:49:58 +08:00
throttling_start should start with None
This commit is contained in:
parent
7e1ac8ed0a
commit
d324742a17
@ -227,7 +227,7 @@ class HttpFD(FileDownloader):
|
|||||||
now = None # needed for slow_down() in the first loop run
|
now = None # needed for slow_down() in the first loop run
|
||||||
before = start # start measuring
|
before = start # start measuring
|
||||||
peak_rate = 0
|
peak_rate = 0
|
||||||
throttling_start = time.time()
|
throttling_start = None
|
||||||
throttling_threshold = None
|
throttling_threshold = None
|
||||||
throttling_start_size = 0
|
throttling_start_size = 0
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user