Skip to content

Commit

Permalink
whoops merge
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-butcher committed Nov 20, 2024
1 parent 7bd28a6 commit a6005ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module "toucher_lambda" {
source = "./modules/toucher_lambda"

environment = "production"
lambda_zip = data.archive_file.transfer_throttle_zip
lambda_zip = data.archive_file.toucher_zip
providers = {
aws: aws.digitisation
}
Expand Down
5 changes: 0 additions & 5 deletions terraform/modules/restorer_lambda/main.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
locals {
lambda_name = "editorial-photography-transfer-restorer"
<<<<<<< HEAD
lambda_timeout = 600
input_queue_visibility_timeout = 1200
=======
lambda_timeout = 60
input_queue_visibility_timeout = 120
>>>>>>> improve-report
environment = "production"
digitisation_account = "404315009621"
}
Expand Down
6 changes: 1 addition & 5 deletions terraform/modules/transfer_throttle/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ module "transfer_throttle_lambda" {
module "transfer_scheduler" {
source = "../lambda_scheduler"
cron = "cron(30 7,9,11,13,15,16 ? * MON-FRI *)"
<<<<<<< HEAD
description = "Moves batches of shoots to the transferer at a rate Archivematica can handle"
=======
description = "Restore a batch of shoots in the evening so they are ready to be transferred in the morning"
>>>>>>> improve-report
description = "Moves batches of shoots to the transferrer 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 a6005ee

Please sign in to comment.