Skip to content

Commit

Permalink
Merge pull request #8799 from aduffeck/fix-cache-config
Browse files Browse the repository at this point in the history
Fix personal space cache config
  • Loading branch information
butonic authored Apr 8, 2024
2 parents 80ef8ca + 99a9b98 commit d1ae9e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-create-personal-space-cache.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix the create personal space cache

We fixed a problem with the config for the create personal space cache which resulted in the cache never being used.

https://github.com/owncloud/ocis/pull/8799
4 changes: 2 additions & 2 deletions services/gateway/pkg/revaconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ func GatewayConfigFromStruct(cfg *config.Config, logger log.Logger) map[string]i
"cache_auth_username": cfg.Cache.ProviderCacheAuthUsername,
"cache_auth_password": cfg.Cache.ProviderCacheAuthPassword,
},
"create_home_cache_config": map[string]interface{}{
"create_personal_space_cache_config": map[string]interface{}{
"cache_store": cfg.Cache.CreateHomeCacheStore,
"cache_nodes": cfg.Cache.CreateHomeCacheNodes,
"cache_database": cfg.Cache.CreateHomeCacheDatabase,
"cache_table": "create_home",
"cache_table": "create_personal_space",
"cache_ttl": cfg.Cache.CreateHomeCacheTTL,
"cache_size": cfg.Cache.CreateHomeCacheSize,
"cache_disable_persistence": cfg.Cache.CreateHomeCacheDisablePersistence,
Expand Down

0 comments on commit d1ae9e9

Please sign in to comment.