From acae26cc3f04635519d16bc776b4600d9b339d3a Mon Sep 17 00:00:00 2001 From: Paul Butcher Date: Thu, 17 Oct 2024 10:11:16 +0100 Subject: [PATCH] longer timeout --- terraform/main.tf | 2 +- terraform/modules/transfer_throttle/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index 5ec35bf..88b49cc 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -1,6 +1,6 @@ locals { event_batching_window_timeout = 20 - lambda_timeout = 120 //two minutes + lambda_timeout = 600 //five minutes # The lambda event source pulls messages from SQS in batches, finally triggering the lambda # when either it has enough messages, or enough time has elapsed. diff --git a/terraform/modules/transfer_throttle/main.tf b/terraform/modules/transfer_throttle/main.tf index 0a5cb14..64b5808 100644 --- a/terraform/modules/transfer_throttle/main.tf +++ b/terraform/modules/transfer_throttle/main.tf @@ -41,7 +41,7 @@ module "transfer_throttle_lambda" { module "transfer_scheduler" { source = "../lambda_scheduler" cron = "cron(30 7,9,11,13,15,16 ? * MON-FRI *)" - description = "Moves batches of shoots to the transferrer at a rate Archivematica can handle" + description = "Moves batches of shoots to the transferer at a rate Archivematica can handle" lambda_arn = module.transfer_throttle_lambda.lambda.arn lambda_function_name = module.transfer_throttle_lambda.lambda.function_name name = "transfer_throttle"