From 5eac54959d903c1d876a602cefd263cbab93d5f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Mon, 8 Apr 2024 12:12:42 +0200 Subject: [PATCH 1/2] Fix personal space cache config --- services/gateway/pkg/revaconfig/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/gateway/pkg/revaconfig/config.go b/services/gateway/pkg/revaconfig/config.go index c13688aee..6c6e10227 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, From f5d9e1f8cf4b07559c08030e1086d2131154cbee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Mon, 8 Apr 2024 12:34:18 +0200 Subject: [PATCH 2/2] Add changelog --- changelog/unreleased/fix-create-personal-space-cache.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelog/unreleased/fix-create-personal-space-cache.md 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 000000000..cd7831bce --- /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