mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Adjust download delays
It turns out I was being wildly optimistic with my first guess at useful delays.
This commit is contained in:
parent
86c1a5fcde
commit
d1a76ac0d1
@ -245,9 +245,9 @@ def download_media(
|
||||
'writethumbnail': True,
|
||||
'check_formats': False,
|
||||
'overwrites': None,
|
||||
'sleep_interval': 30,
|
||||
'max_sleep_interval': 600,
|
||||
'sleep_interval_requests': 30,
|
||||
'sleep_interval': 10 + int(settings.DOWNLOAD_MEDIA_DELAY / 20),
|
||||
'max_sleep_interval': settings.DOWNLOAD_MEDIA_DELAY,
|
||||
'sleep_interval_requests': 5,
|
||||
'paths': opts.get('paths', dict()),
|
||||
'postprocessor_args': opts.get('postprocessor_args', dict()),
|
||||
'postprocessor_hooks': opts.get('postprocessor_hooks', list()),
|
||||
|
Loading…
Reference in New Issue
Block a user