Skip to content

Commit

Permalink
[IND-423] update pg_pool_min to 10 for ender (dydxprotocol#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
dydxwill authored and pswies committed Feb 8, 2024
1 parent fb99a37 commit d4a305f
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions indexer/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ locals {
[
{
name : "PG_POOL_MAX",
value : "15"
value : "30"
},
{
name = "PG_POOL_MIN",
value = "10",
},
var.ender_ecs_environment_variables,
],
Expand Down Expand Up @@ -84,6 +88,10 @@ locals {
name : "PG_POOL_MAX",
value : "2"
},
{
name = "PG_POOL_MIN",
value = "1",
},
var.comlink_ecs_environment_variables,
],
),
Expand Down Expand Up @@ -117,6 +125,10 @@ locals {
name : "PG_POOL_MAX",
value : "2"
},
{
name = "PG_POOL_MIN",
value = "1",
},
var.socks_ecs_environment_variables,
],
),
Expand Down Expand Up @@ -170,6 +182,10 @@ locals {
name : "PG_POOL_MAX",
value : "2"
},
{
name = "PG_POOL_MIN",
value = "1",
},
var.roundtable_ecs_environment_variables,
],
),
Expand All @@ -191,6 +207,10 @@ locals {
name : "PG_POOL_MAX",
value : "2"
},
{
name = "PG_POOL_MIN",
value = "1",
},
var.vulcan_ecs_environment_variables,
],
),
Expand All @@ -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,
Expand Down

0 comments on commit d4a305f

Please sign in to comment.