Skip to content

Commit 448dcf3

Browse files
committed
updated visibility timout from 6 to 3 times
1 parent 093ad27 commit 448dcf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/instance/sqs_id_sync.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
resource "aws_sqs_queue" "id_sync_queue" {
22
name = "imms-${local.resource_scope}-id-sync-queue"
33
kms_master_key_id = data.aws_kms_key.existing_id_sync_sqs_encryption_key.arn
4-
visibility_timeout_seconds = 2160 # as per AWS docs to be 6 times the Lambda function timeout
4+
visibility_timeout_seconds = 1080 # as per AWS docs to be 6 times the Lambda function timeout but kept to 3 times
55
redrive_policy = jsonencode({
66
deadLetterTargetArn = aws_sqs_queue.id_sync_dlq.arn
77
maxReceiveCount = 4

0 commit comments

Comments
 (0)