From 665167f3edc3977d4b5f763ee0c20e3235c61e1e Mon Sep 17 00:00:00 2001 From: Jinbo Pan Date: Thu, 15 Aug 2024 19:12:54 -0700 Subject: [PATCH] Increase AWS Lambda Timeout (#744) 10 seconds are not enough to upload images in comments, so increase the timeout to 60 seconds. Co-authored-by: Jinbo Pan --- src/server/aws-lambda/terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/aws-lambda/terraform/main.tf b/src/server/aws-lambda/terraform/main.tf index 86db123c4..d5771f68a 100644 --- a/src/server/aws-lambda/terraform/main.tf +++ b/src/server/aws-lambda/terraform/main.tf @@ -18,7 +18,7 @@ module "lambda_function" { function_name = "twikoo" handler = "index.handler" runtime = "nodejs20.x" - timeout = 10 + timeout = 60 source_path = "../src"