We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b79f053 + 5e9c3eb commit 5efa492Copy full SHA for 5efa492
2 files changed
backend/src/iac/backend-stack.ts
@@ -405,6 +405,7 @@ export class BackendStack extends cdk.Stack {
405
const integrationOptions = {
406
connectionType: apigateway.ConnectionType.VPC_LINK,
407
vpcLink: vpcLink,
408
+ timeout: cdk.Duration.seconds(300), // Adding 5-minute timeout (300 seconds)
409
};
410
411
const getDocsIntegration = new apigateway.Integration({
backend/src/main.ts
@@ -14,6 +14,9 @@ async function bootstrap() {
14
// Configure JSON body parser with increased limits
15
app.use(json({ limit: '3mb' })); // Increased from default 100kb to 3mb
16
17
+ // Set server timeout to 5 minutes (300,000 ms)
18
+ app.getHttpAdapter().getInstance().timeout = 300000;
19
+
20
// Enable CORS
21
app.enableCors({
22
origin: [
0 commit comments