Adjust download delays

It turns out I was being wildly optimistic with my first guess at useful delays.
This commit is contained in:
tcely 2025-01-31 09:14:09 -05:00 committed by GitHub
parent 86c1a5fcde
commit d1a76ac0d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -245,9 +245,9 @@ def download_media(
'writethumbnail': True, 'writethumbnail': True,
'check_formats': False, 'check_formats': False,
'overwrites': None, 'overwrites': None,
'sleep_interval': 30, 'sleep_interval': 10 + int(settings.DOWNLOAD_MEDIA_DELAY / 20),
'max_sleep_interval': 600, 'max_sleep_interval': settings.DOWNLOAD_MEDIA_DELAY,
'sleep_interval_requests': 30, 'sleep_interval_requests': 5,
'paths': opts.get('paths', dict()), 'paths': opts.get('paths', dict()),
'postprocessor_args': opts.get('postprocessor_args', dict()), 'postprocessor_args': opts.get('postprocessor_args', dict()),
'postprocessor_hooks': opts.get('postprocessor_hooks', list()), 'postprocessor_hooks': opts.get('postprocessor_hooks', list()),