mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Change default sync_response_cache_duration
(#13042)
This commit is contained in:
parent
7d99414edf
commit
c95b04bb0e
5 changed files with 11 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue