mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
Merge pull request #5574 from tejasae-afk/fix/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=60.0)
|
||||||
|
|
||||||
def _list_uploaded_parts(self, drive_id: str, file_id: str, upload_id: str) -> dict:
|
def _list_uploaded_parts(self, drive_id: str, file_id: str, upload_id: str) -> dict:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user