diff --git a/deployment/lambda/walthamforest_etl/walthamforest_etl_lambda.tf b/deployment/lambda/walthamforest_etl/walthamforest_etl_lambda.tf index e8e98be..22f03aa 100644 --- a/deployment/lambda/walthamforest_etl/walthamforest_etl_lambda.tf +++ b/deployment/lambda/walthamforest_etl/walthamforest_etl_lambda.tf @@ -11,6 +11,8 @@ data "aws_ecr_repository" "walthamforest_etl_ecr" { # SQS queue resource "aws_sqs_queue" "walthamforest_etl_queue" { name = "walthamforest_etl-queue" + visibility_timeout_seconds = 1800 # 30 minutes (>= 300s; ~6x rule of thumb) + receive_wait_time_seconds = 20 # optional: long polling }