summary refs log tree commit diff
path: root/docs/usage/configuration/config_documentation.md
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-06-15 17:55:20 +0100
committerGitHub <noreply@github.com>2022-06-15 16:55:20 +0000
commitc95b04bb0e719d3f5de1714b442f95a39c6e3634 (patch)
tree96d0f230fc570ff5e61af1e7ce920562c4ca0aae /docs/usage/configuration/config_documentation.md
parentReplace pyjwt with authlib in `org.matrix.login.jwt` (#13011) (diff)
downloadsynapse-c95b04bb0e719d3f5de1714b442f95a39c6e3634.tar.xz
Change default `sync_response_cache_duration` (#13042)
Diffstat (limited to 'docs/usage/configuration/config_documentation.md')
-rw-r--r--docs/usage/configuration/config_documentation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md
index e88f68d2b8..4e68801938 100644
--- a/docs/usage/configuration/config_documentation.md
+++ b/docs/usage/configuration/config_documentation.md
@@ -1137,8 +1137,8 @@ Caching can be configured through the following sub-options:
 * `sync_response_cache_duration`: Controls how long the results of a /sync request are
   cached for after a successful response is returned. A higher duration can help clients
   with intermittent connections, at the cost of higher memory usage.
-  By default, this is zero, which means that sync responses are not cached
-  at all.
+  A value of zero means that sync responses are not cached.
+  Defaults to 2m.
 * `cache_autotuning` and its sub-options `max_cache_memory_usage`, `target_cache_memory_usage`, and
    `min_cache_ttl` work in conjunction with each other to maintain a balance between cache memory 
    usage and cache entry availability. You must be using [jemalloc](https://github.com/matrix-org/synapse#help-synapse-is-slow-and-eats-all-my-ramcpu)