Skip to content

Commit

Permalink
set timeout to 600 for build_image function
Browse files Browse the repository at this point in the history
  • Loading branch information
devgenix committed Dec 25, 2023
1 parent 6782b36 commit edcc380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-cli/agenta/client/backend/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ def build_image(self, *, app_id: str, base_name: str, tar_file: typing.IO) -> Im
data=jsonable_encoder({}),
files={"tar_file": tar_file},
headers=self._client_wrapper.get_headers(),
timeout=60,
timeout=600,
)
if 200 <= _response.status_code < 300:
return pydantic.parse_obj_as(Image, _response.json()) # type: ignore
Expand Down

0 comments on commit edcc380

Please sign in to comment.