summary refs log tree commit diff
path: root/develop/usage/configuration/homeserver_sample_config.html
diff options
context:
space:
mode:
authorH-Shay <H-Shay@users.noreply.github.com>2022-02-11 19:05:49 +0000
committerH-Shay <H-Shay@users.noreply.github.com>2022-02-11 19:05:49 +0000
commit433b5c9dff70248c92505be13f98498406a881d9 (patch)
tree4390740c710855fe045d6c87de11696d8b656cbf /develop/usage/configuration/homeserver_sample_config.html
parentdeploy: 0171fa5226a6aa808d9965dab20f22f9794810d9 (diff)
downloadsynapse-433b5c9dff70248c92505be13f98498406a881d9.tar.xz
deploy: b2b971f28a19c7fb31df79db29060ae72ba06e6b
Diffstat (limited to 'develop/usage/configuration/homeserver_sample_config.html')
-rw-r--r--develop/usage/configuration/homeserver_sample_config.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/develop/usage/configuration/homeserver_sample_config.html b/develop/usage/configuration/homeserver_sample_config.html

index 83c1bd6043..f61592af54 100644 --- a/develop/usage/configuration/homeserver_sample_config.html +++ b/develop/usage/configuration/homeserver_sample_config.html
@@ -943,11 +943,16 @@ caches: per_cache_factors: #get_users_who_share_room_with_user: 2.0 - # Controls how long an entry can be in a cache without having been - # accessed before being evicted. Defaults to None, which means - # entries are never evicted based on time. + # Controls whether cache entries are evicted after a specified time + # period. Defaults to true. Uncomment to disable this feature. # - #expiry_time: 30m + #expire_caches: false + + # If expire_caches is enabled, this flag controls how long an entry can + # be in a cache without having been accessed before being evicted. + # Defaults to 30m. Uncomment to set a different time to live for cache entries. + # + #cache_entry_ttl: 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