summary refs log tree commit diff
path: root/develop/usage/configuration/config_documentation.html
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2024-04-26 08:46:20 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2024-04-26 08:46:20 +0000
commitc73a2795ffedd6ca208915af97ea2d692f237bf8 (patch)
treea4a3f3193fe7a21469b2776241bddb39629e63b9 /develop/usage/configuration/config_documentation.html
parentdeploy: 4cd6b75d0a95aa373068fae8b3a431fd453c9728 (diff)
downloadsynapse-c73a2795ffedd6ca208915af97ea2d692f237bf8.tar.xz
deploy: 0ef2315a99859217e319e4cb5a29d88a054952ff
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r--develop/usage/configuration/config_documentation.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html

index c3bde7a4de..bd5801fded 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html
@@ -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 &quot;<em>getEvent</em>&quot;.</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