Skip to content

Commit

Permalink
fix(infra): set prisma maximum connection pool to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
ssupecial committed May 16, 2024
1 parent 73f2962 commit 0708d91
Show file tree
Hide file tree
Showing 2 changed files with 10,981 additions and 8,534 deletions.
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
Loading

0 comments on commit 0708d91

Please sign in to comment.