Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/Terraform/container-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ resource "azurerm_container_app" "app" {
revision_suffix = "rev-${local.timestamp}"

# Minimum scaling for cost optimization
min_replicas = 0 # Scale to zero when no traffic (cheapest option)
min_replicas = 1 # Reduce cold start
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The comment should be more descriptive about the trade-off being made. Consider: '# Keep 1 replica running to avoid cold starts (increases cost but improves response time)'

Suggested change
min_replicas = 1 # Reduce cold start
min_replicas = 1 # Keep 1 replica running to avoid cold starts (increases cost but improves response time)

Copilot uses AI. Check for mistakes.
max_replicas = 1 # Limit maximum instances

container {
Expand Down