From ad7b9a68bdedeb49a585f788863c851c650e2522 Mon Sep 17 00:00:00 2001 From: preethamr Date: Mon, 16 Oct 2023 12:16:46 -0700 Subject: [PATCH] fix: add mq tf config to lh --- ops/testnet/staging/core/config.tf | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/ops/testnet/staging/core/config.tf b/ops/testnet/staging/core/config.tf index 5c2a7cde07..2632176812 100644 --- a/ops/testnet/staging/core/config.tf +++ b/ops/testnet/staging/core/config.tf @@ -300,8 +300,28 @@ locals { databaseWriter = { url = local.default_db_url } - main = "1735353714" - proverBatchSize = 1 + main = "1735353714" + proverBatchSize = { + # "1668247156" = 10, + "9991" = 10, + "1735353714" = 10, + # "2053862260" = 10, + "1734439522" = 10, + "1735356532" = 10 + } + messageQueue = { + connection = { + uri = "amqps://${var.rmq_mgt_user}:${var.rmq_mgt_password}@${module.centralised_message_queue.aws_mq_amqp_endpoint}" + } + exchange = { + name = "proverX" + type = "direct" + publishTimeout = 1000 + persistent = true + durable = true + } + prefetchSize = 1 + } }) local_relayer_config = jsonencode({