fix: pass download_id in process_download to prevent retry skip
This commit is contained in:
@@ -571,7 +571,7 @@ def process_download(self, download_id: int):
|
|||||||
return {"download_id": download_id, "status": "error", "error": "No source associated"}
|
return {"download_id": download_id, "status": "error", "error": "No source associated"}
|
||||||
|
|
||||||
# Delegate to download_source
|
# Delegate to download_source
|
||||||
return await _download_source_async(download.source_id)
|
return await _download_source_async(download.source_id, download_id=download_id)
|
||||||
finally:
|
finally:
|
||||||
await _cleanup_engine(engine)
|
await _cleanup_engine(engine)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user