summary refs log tree commit diff
path: root/develop/sample_config.yaml
diff options
context:
space:
mode:
authorrichvdh <richvdh@users.noreply.github.com>2021-08-03 13:45:30 +0000
committerrichvdh <richvdh@users.noreply.github.com>2021-08-03 13:45:30 +0000
commitf2cf58319b99d7c9a35afaf1b41045e595de8f3a (patch)
tree078d75f5fabac016fb1aa13e5ab0b0f3e7977eb8 /develop/sample_config.yaml
parentdeploy: c8566191fcd7edf224db468f860c1b638fb8e763 (diff)
downloadsynapse-f2cf58319b99d7c9a35afaf1b41045e595de8f3a.tar.xz
deploy: 4b10880da363efed5d066191190237f1c64fddfd
Diffstat (limited to 'develop/sample_config.yaml')
-rw-r--r--develop/sample_config.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/develop/sample_config.yaml b/develop/sample_config.yaml
index 1a217f35db..a2efc14100 100644
--- a/develop/sample_config.yaml
+++ b/develop/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 ##