mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-19 19:46:55 +08:00
perf(modules): set a timeout on alipan HTTP calls
This commit is contained in:
@@ -558,7 +558,7 @@ class AliPan(StorageBase, metaclass=WeakSingleton):
|
||||
"""
|
||||
上传单个分片
|
||||
"""
|
||||
return requests.put(upload_url, data=data)
|
||||
return requests.put(upload_url, data=data, timeout=10.0)
|
||||
|
||||
def _list_uploaded_parts(self, drive_id: str, file_id: str, upload_id: str) -> dict:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user