mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
autopep
This commit is contained in:
parent
fbc6b6f026
commit
bd8ab07ca9
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ def real_download(self, filename, info_dict):
|
||||||
finally:
|
finally:
|
||||||
stop_event.set()
|
stop_event.set()
|
||||||
|
|
||||||
|
|
||||||
def ping_thread(self, stop_event, url, headers, secret, context_id):
|
def ping_thread(self, stop_event, url, headers, secret, context_id):
|
||||||
# Site sends ping every 4 seconds, but this throttles the download. Pinging every 2 seconds seems to work.
|
# Site sends ping every 4 seconds, but this throttles the download. Pinging every 2 seconds seems to work.
|
||||||
ping_interval = 2
|
ping_interval = 2
|
||||||
|
|
Loading…
Reference in a new issue