Skip to content

Commit f00496b

Browse files
committed
fix: Increase timeout for mcp-openapi-proxy-based functions from 3 to 30 seconds
1 parent 57c3620 commit f00496b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/servers/book-search/cdk_stack.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Aspects,
44
CfnOutput,
55
DockerVolume,
6+
Duration,
67
Environment,
78
RemovalPolicy,
89
Stack,
@@ -67,6 +68,7 @@ def __init__(
6768
runtime=lambda_.Runtime.PYTHON_3_13,
6869
entry="function",
6970
memory_size=2048,
71+
timeout=Duration.seconds(30),
7072
environment={
7173
"LOG_LEVEL": "DEBUG",
7274
},

examples/servers/dad-jokes/cdk_stack.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Aspects,
44
CfnOutput,
55
DockerVolume,
6+
Duration,
67
Environment,
78
Fn,
89
RemovalPolicy,
@@ -71,6 +72,7 @@ def __init__(
7172
runtime=lambda_.Runtime.PYTHON_3_13,
7273
entry="function",
7374
memory_size=2048,
75+
timeout=Duration.seconds(30),
7476
environment={
7577
"LOG_LEVEL": "DEBUG",
7678
},

0 commit comments

Comments
 (0)