From fb6235b958955d65ac71e4fe4e8ed1bb5fcfc5da Mon Sep 17 00:00:00 2001 From: Marco Ardizzone Date: Mon, 15 Sep 2025 17:46:53 +0200 Subject: [PATCH] Remove orgCache --- backend/v3/domain/domain.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/v3/domain/domain.go b/backend/v3/domain/domain.go index e2a1fe675bb..c2bff1f6176 100644 --- a/backend/v3/domain/domain.go +++ b/backend/v3/domain/domain.go @@ -5,7 +5,6 @@ import ( "strconv" "time" - "github.com/zitadel/zitadel/backend/v3/storage/cache" "github.com/zitadel/zitadel/backend/v3/storage/database" "github.com/zitadel/zitadel/backend/v3/telemetry/logging" "github.com/zitadel/zitadel/backend/v3/telemetry/tracing" @@ -80,7 +79,6 @@ var ( orgRepo func(database.QueryExecutor) OrganizationRepository // instanceCache cache.Cache[instanceCacheIndex, string, *Instance] - orgCache cache.Cache[OrgCacheIndex, string, *Organization] generateID func() (string, error) = func() (string, error) { return strconv.FormatUint(rand.Uint64(), 10), nil @@ -91,10 +89,6 @@ func SetPool(p database.Pool) { pool = p } -func SetCache(c cache.Cache[OrgCacheIndex, string, *Organization]) { - orgCache = c -} - // func SetUserCodeAlgorithm(algorithm crypto.EncryptionAlgorithm) { // userCodeAlgorithm = algorithm // }