From a10235332f30faaf1291c91a3eb236d1e2595c55 Mon Sep 17 00:00:00 2001 From: dydxwill <119354122+dydxwill@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:45:37 -0400 Subject: [PATCH] [IND-423] update pg_pool_min to 10 for ender (#44) --- indexer/locals.tf | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/indexer/locals.tf b/indexer/locals.tf index c6f498cc..2b06257b 100644 --- a/indexer/locals.tf +++ b/indexer/locals.tf @@ -40,7 +40,11 @@ locals { [ { name : "PG_POOL_MAX", - value : "15" + value : "30" + }, + { + name = "PG_POOL_MIN", + value = "10", }, var.ender_ecs_environment_variables, ], @@ -84,6 +88,10 @@ locals { name : "PG_POOL_MAX", value : "2" }, + { + name = "PG_POOL_MIN", + value = "1", + }, var.comlink_ecs_environment_variables, ], ), @@ -117,6 +125,10 @@ locals { name : "PG_POOL_MAX", value : "2" }, + { + name = "PG_POOL_MIN", + value = "1", + }, var.socks_ecs_environment_variables, ], ), @@ -170,6 +182,10 @@ locals { name : "PG_POOL_MAX", value : "2" }, + { + name = "PG_POOL_MIN", + value = "1", + }, var.roundtable_ecs_environment_variables, ], ), @@ -191,6 +207,10 @@ locals { name : "PG_POOL_MAX", value : "2" }, + { + name = "PG_POOL_MIN", + value = "1", + }, var.vulcan_ecs_environment_variables, ], ), @@ -209,10 +229,6 @@ locals { name = "DB_PASSWORD", value = var.rds_db_password, }, - { - name = "PG_POOL_MIN", - value = 1, - }, { name = "DB_HOSTNAME", value = aws_db_instance.main.address,