Skip to content

Commit

Permalink
set request timeout to 1h
Browse files Browse the repository at this point in the history
  • Loading branch information
iszulcdeepsense committed May 9, 2024
1 parent 081c3aa commit c147f36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lifecycle/lifecycle/deployer/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def _send_image_build_request(
r = Requests.post(
f'{config.image_builder_url}/api/v1/build',
json=_build_image_request_payload(manifest, git_credentials, secret_build_env, tag, build_context, deployment, build_flags),
timeout=3600,
)
logger.debug(f'image-builder finished building a job, deployment ID: {deployment.id}')
response = parse_response_object(r, 'Image builder API error')
Expand Down

0 comments on commit c147f36

Please sign in to comment.