Skip to content

Commit

Permalink
fix(infra): modify connections limit to 30, not default
Browse files Browse the repository at this point in the history
  • Loading branch information
ssupecial committed May 20, 2024
1 parent 04543b2 commit 147fb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/infra/modules/codedang-infra/ecs-api-client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ resource "aws_ecs_task_definition" "client_api" {
# database_url = "postgresql://${var.postgres_username}:${random_password.postgres_password.result}@${aws_rds_cluster.cluster.endpoint}:${var.postgres_port}/skkuding?schema=public",

# posrgresql (free tier)
database_url = "postgresql://${var.postgres_username}:${random_password.postgres_password.result}@${aws_db_instance.db-test.endpoint}/skkuding?schema=public",
database_url = "postgresql://${var.postgres_username}:${random_password.postgres_password.result}@${aws_db_instance.db-test.endpoint}/skkuding?schema=public&connection_limit=30",
ecr_uri = data.aws_ecr_repository.client_api.repository_url,
container_port = 4000,
cloudwatch_region = var.region,
Expand Down

0 comments on commit 147fb57

Please sign in to comment.