From c2fe681514cd003934389b21cf27f505eb3c4832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 1 Mar 2023 13:24:38 +0100 Subject: [PATCH] fix workerCheckDelay and set smaller default value --- terraform/modules/compute_plane/locals.tf | 2 +- terraform/variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/modules/compute_plane/locals.tf b/terraform/modules/compute_plane/locals.tf index 72ca3a952..b2a1f50fd 100644 --- a/terraform/modules/compute_plane/locals.tf +++ b/terraform/modules/compute_plane/locals.tf @@ -8,7 +8,7 @@ locals { env = [ "Pollster__MaxErrorAllowed=${var.polling_agent.max_error_allowed}", "InitWorker__WorkerCheckRetries=${var.polling_agent.worker_check_retries}", - "InitWorker__WorkerCheckDelay=${var.polling_agent.worker_check_retries}", + "InitWorker__WorkerCheckDelay=${var.polling_agent.worker_check_delay}", "Zipkin__Uri=${var.zipkin_uri}", "Amqp__PartitionId=TestPartition${local.partition_chooser}" ] diff --git a/terraform/variables.tf b/terraform/variables.tf index 742929d23..21d976922 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -129,7 +129,7 @@ variable "compute_plane" { port = optional(number, 9980) max_error_allowed = optional(number, -1) worker_check_retries = optional(number, 10) - worker_check_delay = optional(string, "00:00:10") + worker_check_delay = optional(string, "00:00:01") }) }) default = {