Correct out-of-date doc for `event_cache_size` (#13726)
parent
77f3986451
commit
c46fecd1f2
|
@ -0,0 +1 @@
|
||||||
|
Fix a mistake in the config manual: the `event_cache_size` _is_ scaled by `caches.global_factor`. The documentation was incorrect since Synapse 1.22.
|
|
@ -1069,8 +1069,10 @@ Options related to caching.
|
||||||
---
|
---
|
||||||
### `event_cache_size`
|
### `event_cache_size`
|
||||||
|
|
||||||
The number of events to cache in memory. Not affected by
|
The number of events to cache in memory. Defaults to 10K. Like other caches,
|
||||||
`caches.global_factor` and is not part of the `caches` section. Defaults to 10K.
|
this is affected by `caches.global_factor` (see below).
|
||||||
|
|
||||||
|
Note that this option is not part of the `caches` section.
|
||||||
|
|
||||||
Example configuration:
|
Example configuration:
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Reference in New Issue