Skip to content

Commit 51a8a78

Browse files
authored
No timeout for upload/download backup (#40)
1 parent 3d8a26e commit 51a8a78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

aiohasupervisor/backups.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ async def upload_backup(
131131
params=params,
132132
data=mp,
133133
response_type=ResponseType.JSON,
134+
timeout=None,
134135
)
135136

136137
return UploadedBackup.from_dict(result.data).slug
@@ -147,5 +148,6 @@ async def download_backup(
147148
f"backups/{backup}/download",
148149
params=params,
149150
response_type=ResponseType.STREAM,
151+
timeout=None,
150152
)
151153
return result.data

0 commit comments

Comments
 (0)