summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-09-07 14:46:11 +0100
committerGitHub <noreply@github.com>2022-09-07 14:46:11 +0100
commitc46fecd1f29b1d2b8756ab2dc5979c24822bfb93 (patch)
treedb755702fffecfddec45bbbc2d328e0f8d247f38
parentDefine SQLite compat policy (#13728) (diff)
downloadsynapse-c46fecd1f29b1d2b8756ab2dc5979c24822bfb93.tar.xz
Correct out-of-date doc for `event_cache_size` (#13726)
-rw-r--r--changelog.d/13726.doc1
-rw-r--r--docs/usage/configuration/config_documentation.md6
2 files changed, 5 insertions, 2 deletions
diff --git a/changelog.d/13726.doc b/changelog.d/13726.doc
new file mode 100644
index 0000000000..ab840e1a92
--- /dev/null
+++ b/changelog.d/13726.doc
@@ -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.
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md
index 757957a1d5..ae490d13a4 100644
--- a/docs/usage/configuration/config_documentation.md
+++ b/docs/usage/configuration/config_documentation.md
@@ -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