Skip to content

Commit 9936412

Browse files
fix: Lambda function timeout
1 parent fd526ed commit 9936412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/infraDeploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ async function attachLayerToLambda(
471471
},
472472
},
473473
//Timeout: LlDebugger.argOptions.observable ? undefined : 300, // Increase the timeout to 5 minutes
474-
Timeout: 300,
474+
Timeout: Math.max(initialTimeout, 300), // Increase the timeout to min. 5 minutes
475475
});
476476

477477
await getLambdaClient().send(updateFunctionConfigurationCommand);

0 commit comments

Comments
 (0)