1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[downloader] Obey --file-access-retries when deleting/renaming (#2224)

Authored by: ehoogeveen-medweb
This commit is contained in:
Emanuel Hoogeveen
2022-03-03 15:33:32 +01:00
committed by GitHub
parent 747c0bd127
commit 45806d44a7
4 changed files with 36 additions and 23 deletions

View File

@ -727,7 +727,7 @@ def create_parser():
help='Number of retries (default is %default), or "infinite"')
downloader.add_option(
'--file-access-retries',
dest='file_access_retries', metavar='RETRIES', default=10,
dest='file_access_retries', metavar='RETRIES', default=3,
help='Number of times to retry on file access error (default is %default), or "infinite"')
downloader.add_option(
'--fragment-retries',