Skip to content

Commit

Permalink
default to stock memory store
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Mar 15, 2023
1 parent dc2e8b7 commit ca9ac77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion services/graph/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func DefaultConfig() *config.Config {
},
},
CacheStore: &config.CacheStore{
Type: "ocmem",
Type: "memory",
Database: "graph",
Table: "roles",
TTL: time.Hour * 336,
Expand Down
6 changes: 3 additions & 3 deletions services/proxy/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca9ac77

Please sign in to comment.