Skip to content

Commit

Permalink
No timeout for upload/download backup (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 authored Dec 21, 2024
1 parent 3d8a26e commit 51a8a78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aiohasupervisor/backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ async def upload_backup(
params=params,
data=mp,
response_type=ResponseType.JSON,
timeout=None,
)

return UploadedBackup.from_dict(result.data).slug
Expand All @@ -147,5 +148,6 @@ async def download_backup(
f"backups/{backup}/download",
params=params,
response_type=ResponseType.STREAM,
timeout=None,
)
return result.data

0 comments on commit 51a8a78

Please sign in to comment.