webdav: user caching is now mandatory

we cache the lock system with the user, without user caching we cannot
support locks for resource
This commit is contained in:
Nicola Murino
2020-11-04 22:29:25 +01:00
parent 0a14297b48
commit 0119fd03a6
7 changed files with 18 additions and 27 deletions

View File

@@ -36,9 +36,8 @@ type Cors struct {
// UsersCacheConfig defines the cache configuration for users
type UsersCacheConfig struct {
Enabled bool `json:"enabled" mapstructure:"enabled"`
ExpirationTime int `json:"expiration_time" mapstructure:"expiration_time"`
MaxSize int `json:"max_size" mapstructure:"max_size"`
ExpirationTime int `json:"expiration_time" mapstructure:"expiration_time"`
MaxSize int `json:"max_size" mapstructure:"max_size"`
}
// MimeCacheConfig defines the cache configuration for mime types