lklk
This commit is contained in:
@@ -1561,7 +1561,7 @@ class Download_File(Cmdlet):
|
||||
|
||||
PipelineProgress(pipeline_context).step("downloading")
|
||||
debug(f"Starting download for {url} (format: {actual_format or 'default'}) with {download_timeout_seconds}s activity timeout...")
|
||||
result_obj = _download_with_timeout(opts, timeout_seconds=download_timeout_seconds)
|
||||
result_obj = _download_with_timeout(opts, timeout_seconds=download_timeout_seconds, config=config)
|
||||
debug(f"Download completed for {url}, building pipe object...")
|
||||
break
|
||||
except DownloadError as e:
|
||||
@@ -2318,7 +2318,7 @@ class Download_File(Cmdlet):
|
||||
)
|
||||
|
||||
try:
|
||||
result_obj = _download_with_timeout(opts, timeout_seconds=300)
|
||||
result_obj = _download_with_timeout(opts, timeout_seconds=300, config=config)
|
||||
except Exception as exc:
|
||||
log(f"[download-file] Download failed for {url_str}: {exc}", file=sys.stderr)
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user