mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 10:27:14 +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
|
||||
before = start # start measuring
|
||||
peak_rate = 0
|
||||
throttling_start = time.time()
|
||||
throttling_start = None
|
||||
throttling_threshold = None
|
||||
throttling_start_size = 0
|
||||
while True:
|
||||
|
Loading…
x
Reference in New Issue
Block a user