Skip to content

Commit

Permalink
Increase AWS Lambda Timeout (#744)
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.

Co-authored-by: Jinbo Pan <[email protected]>
  • Loading branch information
panjinbo and Jinbo Pan authored Aug 16, 2024
1 parent f7e12bc commit 665167f
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 665167f

Please sign in to comment.