mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Correct out-of-date doc for event_cache_size
(#13726)
This commit is contained in:
parent
77f3986451
commit
c46fecd1f2
2 changed files with 5 additions and 2 deletions
1
changelog.d/13726.doc
Normal file
1
changelog.d/13726.doc
Normal file
|
@ -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`
|
||||
|
||||
The number of events to cache in memory. Not affected by
|
||||
`caches.global_factor` and is not part of the `caches` section. Defaults to 10K.
|
||||
The number of events to cache in memory. Defaults to 10K. Like other caches,
|
||||
this is affected by `caches.global_factor` (see below).
|
||||
|
||||
Note that this option is not part of the `caches` section.
|
||||
|
||||
Example configuration:
|
||||
```yaml
|
||||
|
|
Loading…
Reference in a new issue