fix(downloader): set socket read timeout to 5 minutes for improved stability during large downloads

This commit is contained in:
Will Miao
2025-09-10 18:49:35 +08:00
parent ba1ac58721
commit 4ee5b7481c

View File

@@ -97,7 +97,7 @@ class Downloader:
timeout = aiohttp.ClientTimeout(
total=None, # No total timeout for large downloads
connect=60, # Connection timeout
sock_read=None # No socket read timeout
sock_read=300 # 5 minute socket read timeout
)
self._session = aiohttp.ClientSession(