diff --git a/changelog/unreleased/fix-create-personal-space-cache.md b/changelog/unreleased/fix-create-personal-space-cache.md new file mode 100644 index 00000000000..cd7831bce19 --- /dev/null +++ b/changelog/unreleased/fix-create-personal-space-cache.md @@ -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 diff --git a/services/gateway/pkg/revaconfig/config.go b/services/gateway/pkg/revaconfig/config.go index 055b4b5d390..f4b5e841efc 100644 --- a/services/gateway/pkg/revaconfig/config.go +++ b/services/gateway/pkg/revaconfig/config.go @@ -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,