Merge pull request #8806 from aduffeck/stable-5.0-backport-8799

Stable 5.0 backport 8799
This commit is contained in:
Michael Barz
2024-04-09 09:46:44 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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,