File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -405,6 +405,7 @@ export class BackendStack extends cdk.Stack {
405405 const integrationOptions = {
406406 connectionType : apigateway . ConnectionType . VPC_LINK ,
407407 vpcLink : vpcLink ,
408+ timeout : cdk . Duration . seconds ( 300 ) , // Adding 5-minute timeout (300 seconds)
408409 } ;
409410
410411 const getDocsIntegration = new apigateway . Integration ( {
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ async function bootstrap() {
1414 // Configure JSON body parser with increased limits
1515 app . use ( json ( { limit : '3mb' } ) ) ; // Increased from default 100kb to 3mb
1616
17+ // Set server timeout to 5 minutes (300,000 ms)
18+ app . getHttpAdapter ( ) . getInstance ( ) . timeout = 300000 ;
19+
1720 // Enable CORS
1821 app . enableCors ( {
1922 origin : [
You can’t perform that action at this time.
0 commit comments