mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-24 04:58:31 -05:00
e9e9947f88
* bring back CORS env vars Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update CORS descriptions Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * align writing of 'A comma-separated ...' Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix some desc quotes Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * Apply suggestions from code review Co-authored-by: Martin <github@diemattels.at> * Apply more suggestions from code review Co-authored-by: Martin <github@diemattels.at> * Apply final suggestions from code review Co-authored-by: Martin <github@diemattels.at> Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: Martin <github@diemattels.at>
9 lines
709 B
Go
9 lines
709 B
Go
package config
|
|
|
|
// CacheStore defines the available configuration for the cache store
|
|
type CacheStore struct {
|
|
Type string `yaml:"type" env:"OCIS_CACHE_STORE_TYPE;GRAPH_CACHE_STORE_TYPE" desc:"The type of the cache store. Valid options are \"noop\", \"ocmem\", \"etcd\" and \"memory\""`
|
|
Address string `yaml:"address" env:"OCIS_CACHE_STORE_ADDRESS;GRAPH_CACHE_STORE_ADDRESS" desc:"A comma-separated list of addresses to connect to. Only valid if the above setting is set to \"etcd\""`
|
|
Size int `yaml:"size" env:"OCIS_CACHE_STORE_SIZE;GRAPH_CACHE_STORE_SIZE" desc:"Maximum number of items per table in the ocmem cache store. Other cache stores will ignore the option and can grow indefinitely."`
|
|
}
|