mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-28 10:28:32 +00:00
deploy: 0ef2315a99
This commit is contained in:
parent
ca25be76d1
commit
c73a2795ff
4 changed files with 10 additions and 2 deletions
|
@ -4890,6 +4890,9 @@ for a given destination and the state of the backoff is stored in the database.<
|
|||
<h3 id="event_cache_size"><a class="header" href="#event_cache_size"><code>event_cache_size</code></a></h3>
|
||||
<p>The number of events to cache in memory. Defaults to 10K. Like other caches,
|
||||
this is affected by <code>caches.global_factor</code> (see below).</p>
|
||||
<p>For example, the default is 10K and the global_factor default is 0.5.</p>
|
||||
<p>Since 10K * 0.5 is 5K then the event cache size will be 5K.</p>
|
||||
<p>The cache affected by this configuration is named as "<em>getEvent</em>".</p>
|
||||
<p>Note that this option is not part of the <code>caches</code> section.</p>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">event_cache_size: 15K
|
||||
|
@ -4909,6 +4912,7 @@ set.</p>
|
|||
variable. Setting by environment variable takes priority over
|
||||
setting through the config file.</p>
|
||||
<p>Defaults to 0.5, which will halve the size of all caches.</p>
|
||||
<p>Note that changing this value also affects the HTTP connection pool.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>per_cache_factors</code>: A dictionary of cache name to cache factor for that individual
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1275,6 +1275,9 @@ for a given destination and the state of the backoff is stored in the database.<
|
|||
<h3 id="event_cache_size"><a class="header" href="#event_cache_size"><code>event_cache_size</code></a></h3>
|
||||
<p>The number of events to cache in memory. Defaults to 10K. Like other caches,
|
||||
this is affected by <code>caches.global_factor</code> (see below).</p>
|
||||
<p>For example, the default is 10K and the global_factor default is 0.5.</p>
|
||||
<p>Since 10K * 0.5 is 5K then the event cache size will be 5K.</p>
|
||||
<p>The cache affected by this configuration is named as "<em>getEvent</em>".</p>
|
||||
<p>Note that this option is not part of the <code>caches</code> section.</p>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">event_cache_size: 15K
|
||||
|
@ -1294,6 +1297,7 @@ set.</p>
|
|||
variable. Setting by environment variable takes priority over
|
||||
setting through the config file.</p>
|
||||
<p>Defaults to 0.5, which will halve the size of all caches.</p>
|
||||
<p>Note that changing this value also affects the HTTP connection pool.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>per_cache_factors</code>: A dictionary of cache name to cache factor for that individual
|
||||
|
|
Loading…
Add table
Reference in a new issue