cache special drive items until space root changes

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2023-04-28 13:50:59 +02:00
parent 332593d8bb
commit ca638ddc51
5 changed files with 40 additions and 5 deletions

View File

@@ -54,6 +54,8 @@ func DefaultConfig() *config.Config {
WebDavPath: "/dav/spaces/",
DefaultQuota: "1000000000",
// 30 minutes
ExtendedSpacePropertiesCacheTTL: 1800,
// 30 minutes
GroupsCacheTTL: 1800,
// 30 minutes
UsersCacheTTL: 1800,