Skip to content

Commit 95ff85d

Browse files
authored
fix: db cold start (#47)
1 parent bec469f commit 95ff85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/Terraform/container-app.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ resource "azurerm_container_app" "app" {
108108
revision_suffix = "rev-${local.timestamp}"
109109

110110
# Minimum scaling for cost optimization
111-
min_replicas = 0 # Scale to zero when no traffic (cheapest option)
111+
min_replicas = 1 # Reduce cold start
112112
max_replicas = 1 # Limit maximum instances
113113

114114
container {

0 commit comments

Comments
 (0)