mirror of
https://github.com/owncloud/ocis
synced 2026-05-01 12:07:27 +02:00
enable a 300sec in memory cache for resource infos when listing shares on the ocs API (#4438)
* enable a 300sec in memory cache for resource infos when listing shares on the ocs API Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * lint Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * disable ocs cache by default Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
committed by
GitHub
parent
a35b2fc9ef
commit
b0fa917eae
@@ -61,6 +61,7 @@ func DefaultConfig() *config.Config {
|
||||
SharePrefix: "/Shares",
|
||||
HomeNamespace: "/users/{{.Id.OpaqueId}}",
|
||||
AdditionalInfoAttribute: "{{.Mail}}",
|
||||
ResourceInfoCacheType: "memory",
|
||||
ResourceInfoCacheTTL: 0,
|
||||
},
|
||||
Middleware: config.Middleware{
|
||||
|
||||
Reference in New Issue
Block a user