From ca9ac7776f20c8a8774766d1400967279fc55792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 15 Mar 2023 14:35:10 +0100 Subject: [PATCH] default to stock memory store MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- services/graph/pkg/config/defaults/defaultconfig.go | 2 +- services/proxy/pkg/config/defaults/defaultconfig.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/graph/pkg/config/defaults/defaultconfig.go b/services/graph/pkg/config/defaults/defaultconfig.go index 0b147f9cccb..0c93751b400 100644 --- a/services/graph/pkg/config/defaults/defaultconfig.go +++ b/services/graph/pkg/config/defaults/defaultconfig.go @@ -84,7 +84,7 @@ func DefaultConfig() *config.Config { }, }, CacheStore: &config.CacheStore{ - Type: "ocmem", + Type: "memory", Database: "graph", Table: "roles", TTL: time.Hour * 336, diff --git a/services/proxy/pkg/config/defaults/defaultconfig.go b/services/proxy/pkg/config/defaults/defaultconfig.go index 25d48426d2e..37b2b590081 100644 --- a/services/proxy/pkg/config/defaults/defaultconfig.go +++ b/services/proxy/pkg/config/defaults/defaultconfig.go @@ -42,11 +42,11 @@ func DefaultConfig() *config.Config { AccessTokenVerifyMethod: config.AccessTokenVerificationJWT, UserinfoCache: config.UserinfoCache{ - Type: "ocmem", + Type: "memory", Database: "proxy", Table: "userinfo", - Size: 1024, - TTL: time.Second * 10, + //Size: 1024, + TTL: time.Second * 10, }, JWKS: config.JWKS{ RefreshInterval: 60, // minutes