mirror of
https://github.com/owncloud/ocis
synced 2026-04-27 02:05:23 +02:00
graph: Adjust defaults for user, group and SpaceProperties caches
The old default ttl of 30 minutes for the caches seems way too long. It could cause outdated information users or groups to be returned for quite a while. Especially since the TTL was reset every time an entry was fetched from the cache. This is disabled now as well. Fixes: #6320
This commit is contained in:
committed by
Ralf Haferkamp
parent
55b5caec0b
commit
1d85593c7e
@@ -53,12 +53,12 @@ func DefaultConfig() *config.Config {
|
||||
WebDavBase: "https://localhost:9200",
|
||||
WebDavPath: "/dav/spaces/",
|
||||
DefaultQuota: "1000000000",
|
||||
// 30 minutes
|
||||
ExtendedSpacePropertiesCacheTTL: 1800,
|
||||
// 30 minutes
|
||||
GroupsCacheTTL: 1800,
|
||||
// 30 minutes
|
||||
UsersCacheTTL: 1800,
|
||||
// 1 minute
|
||||
ExtendedSpacePropertiesCacheTTL: 60,
|
||||
// 1 minute
|
||||
GroupsCacheTTL: 60,
|
||||
// 1 minute
|
||||
UsersCacheTTL: 60,
|
||||
},
|
||||
Identity: config.Identity{
|
||||
Backend: "ldap",
|
||||
|
||||
Reference in New Issue
Block a user