Skip to content

Commit

Permalink
longer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-butcher committed Oct 17, 2024
1 parent b7c46da commit acae26c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/transfer_throttle/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit acae26c

Please sign in to comment.