Skip to content

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

fix: store count (#19040)

p0nye65853913331
diff --git a/backend/enterprise/license.go b/backend/enterprise/license.go
index d85e74c167..885a8a34ee 100644
--- a/backend/enterprise/license.go
+++ b/backend/enterprise/license.go
@@ -402,7 +402,7 @@ func (s *LicenseService) CountActiveReplicas(ctx context.Context) int {
count = 1
}
s.replicaCache.Store(&replicaCacheState{
- replicaCount: 1,
+ replicaCount: count,
loadedAt: time.Now(),
})