diff --git a/deployment/lambda/extractor_and_loader/extractor_and_loader_lambda.tf b/deployment/lambda/extractor_and_loader/extractor_and_loader_lambda.tf index ef1c07c..9965b73 100644 --- a/deployment/lambda/extractor_and_loader/extractor_and_loader_lambda.tf +++ b/deployment/lambda/extractor_and_loader/extractor_and_loader_lambda.tf @@ -11,6 +11,8 @@ data "aws_ecr_repository" "extractor_and_loader" { # SQS queue for extractor_and_loader resource "aws_sqs_queue" "extractor_and_loader_queue" { name = "extractor-loader-queue" + visibility_timeout_seconds = 1800 # 30 minutes (>= 300s; ~6x rule of thumb) + receive_wait_time_seconds = 20 # optional: long polling }