Merge pull request #8799 from aduffeck/fix-cache-config

Fix personal space cache config
This commit is contained in:
Jörn Friedrich Dreyer
2024-04-08 17:53:23 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
@@ -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
+2 -2
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,