Skip to content

Commit

Permalink
Increase AWS Lambda Timeout
Browse files Browse the repository at this point in the history
10 seconds are not enough to upload images in comments, so increase the timeout to 60 seconds.
  • Loading branch information
Jinbo Pan authored and Jinbo Pan committed Aug 16, 2024
1 parent f7e12bc commit 6d6f156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/aws-lambda/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module "lambda_function" {
function_name = "twikoo"
handler = "index.handler"
runtime = "nodejs20.x"
timeout = 10
timeout = 60

source_path = "../src"

Expand Down

0 comments on commit 6d6f156

Please sign in to comment.