Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Correct out-of-date doc for event_cache_size (#13726)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson authored Sep 7, 2022
1 parent 77f3986 commit c46fecd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/13726.doc
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 4 additions & 2 deletions docs/usage/configuration/config_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c46fecd

Please sign in to comment.