Skip to content

Commit fc84d07

Browse files
committed
fix(infra): increase API Gateway HTTP API timeout to 30s max
The default timeout was 29s which caused 503 Service Unavailable errors for long-running LLM calls. Set to maximum allowed 30 seconds.
1 parent 4c29011 commit fc84d07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

coaching/pulumi/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@
260260
integration_type="AWS_PROXY",
261261
integration_uri=coaching_lambda.arn,
262262
payload_format_version="2.0",
263+
timeout_millis=30000, # Max 30 seconds for HTTP API (API Gateway limit)
263264
)
264265

265266
aws.apigatewayv2.Route(

0 commit comments

Comments
 (0)