diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-08-03 14:45:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 14:45:04 +0100 |
commit | 4b10880da363efed5d066191190237f1c64fddfd (patch) | |
tree | 4218a9f817ec47f000d31fad5c30ba7145e27d0e /docs/sample_config.yaml | |
parent | Include room ID in ignored EDU log messages (#10507) (diff) | |
download | synapse-4b10880da363efed5d066191190237f1c64fddfd.tar.xz |
Make sync response cache time configurable. (#10513)
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r-- | docs/sample_config.yaml | 9 |
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 ## |