Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions terraform/modules/05.lambda/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ resource "aws_lambda_event_source_mapping" "builder_sqs_trigger" {

# Configurações do processamento em lote
batch_size = 1 # Processa 1 mensagem por vez
maximum_batching_window_in_seconds = 5 # Aguarda até 5 segundos para formar um lote
maximum_batching_window_in_seconds = 10 # Aguarda até 10 segundos para formar um lote
scaling_config {
maximum_concurrency = 3
maximum_concurrency = 1
}
# Configurações de retry e erro
function_response_types = ["ReportBatchItemFailures"]
Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/05.lambda/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ variable "image_tag" {
variable "lambda_timeout" {
description = "Timeout da função Lambda em segundos"
type = number
default = 60
default = 360
}

variable "lambda_memory_size" {
Expand Down
Loading