Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: limit instance count for free plan (#5878)

ecmadao5437c0bcf01a
diff --git a/backend/enterprise/config/config.go b/backend/enterprise/config/config.go
index bc65d9d925..20b53ca897 100644
--- a/backend/enterprise/config/config.go
+++ b/backend/enterprise/config/config.go
@@ -36,7 +36,7 @@ const (
// audience is the license token audience.
audience = "bb.license"
// MaximumInstanceForFreePlan is the maximum instance limit for the FREE plan.
- MaximumInstanceForFreePlan = -1
+ MaximumInstanceForFreePlan = 20
)
// NewConfig will create a new enterprise config instance.
diff --git a/frontend/src/locales/subscription/en-US.json b/frontend/src/locales/subscription/en-US.json
index 660df6183d..85a7976011 100644
--- a/frontend/src/locales/subscription/en-US.json
+++ b/frontend/src/locales/subscription/en-US.json
@@ -15,7 +15,7 @@
"billed-annually": "Billed annually",
"billed-monthly": "Billed monthly",
"per-instance": "Per instance",
- "free-price-intro": "Unlimited users, environments and instances",
+ "free-price-intro": "Unlimited users and environments",
"team-price-intro": "Up to 20 instances",
"enterprise-price-intro": "Customized, billed annually",
"deploy": "Deploy",
diff --git a/frontend/src/locales/subscription/es-ES.json b/frontend/src/locales/subscription/es-ES.json
index cecae193c8..ebab7fbd39 100644
--- a/frontend/src/locales/subscription/es-ES.json
+++ b/frontend/src/locales/subscription/es-ES.json
@@ -15,7 +15,7 @@
"billed-annually": "Facturado anualmente",
"billed-monthly": "Facturado mensualmente",
"per-instance": "Por instancia",
- "free-price-intro": "Usuarios, entornos e instancias ilimitados",
+ "free-price-intro": "Usuarios y entornos ilimitados",
"team-price-intro": "Hasta 20 instancias",
"enterprise-price-intro": "Personalizado, facturado anualmente",
"deploy": "Desplegar",
diff --git a/frontend/src/locales/subscription/zh-CN.json b/frontend/src/locales/subscription/zh-CN.json
index dabe2be9ce..3ccfd18032 100644
--- a/frontend/src/locales/subscription/zh-CN.json
+++ b/frontend/src/locales/subscription/zh-CN.json
@@ -15,7 +15,7 @@
"billed-annually": "按年付费",
"billed-monthly": "按月付费",
"per-instance": "每个实例",
- "free-price-intro": "无限用户数,环境数和实例数",
+ "free-price-intro": "无限用户数和环境数",
"team-price-intro": "最多 20 个实例",
"enterprise-price-intro": "自定义,按年付费",
"deploy": "部署",
diff --git a/frontend/src/types/plan.yaml b/frontend/src/types/plan.yaml
index 7959dddcec..e7aa10f680 100644
--- a/frontend/src/types/plan.yaml
+++ b/frontend/src/types/plan.yaml
@@ -58,8 +58,8 @@ planList:
unitPrice: 0
trialPrice: 0
freeSeatCount: -1
- freeInstanceCount: -1
- maximumInstanceCount: -1
+ freeInstanceCount: 20
+ maximumInstanceCount: 20
maximumSeatCount: -1
pricePerSeatPerMonth: 0
pricePerInstancePerMonth: 0
@@ -68,7 +68,7 @@ planList:
- type: user-count
content: user-unlimited
- type: instance-count
- content: instance-unlimited
+ content: instance-maximum-20
- type: environment-count
content: environment-unlimited
- type: state-based-change