summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-08-03 14:45:04 +0100
committerGitHub <noreply@github.com>2021-08-03 14:45:04 +0100
commit4b10880da363efed5d066191190237f1c64fddfd (patch)
tree4218a9f817ec47f000d31fad5c30ba7145e27d0e /docs/sample_config.yaml
parentInclude room ID in ignored EDU log messages (#10507) (diff)
downloadsynapse-4b10880da363efed5d066191190237f1c64fddfd.tar.xz
Make sync response cache time configurable. (#10513)
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r--docs/sample_config.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 1a217f35db..a2efc14100 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -711,6 +711,15 @@ caches:
   #
   #expiry_time: 30m
 
+  # 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.
+  #
+  #sync_response_cache_duration: 2m
+
 
 ## Database ##