Skip to content

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

chore: remove dead instance limit check (#20166)

p0ny058211fa2bd5
diff --git a/backend/enterprise/license.go b/backend/enterprise/license.go
index 007cb32677..a8a3edd018 100644
--- a/backend/enterprise/license.go
+++ b/backend/enterprise/license.go
@@ -350,9 +350,6 @@ func (s *LicenseService) GetInstanceLimit(ctx context.Context, workspaceID strin
limit := instanceLimitValues[subscription.Plan]
if limit == -1 {
// Enterprise license.
- if subscription.Instances > 0 {
- return int(subscription.Instances)
- }
limit = math.MaxInt
}
return limit