From 92f6ed0a4f8fc12b7d36bc81b90d64484339fade Mon Sep 17 00:00:00 2001
From: DMRobertson
Options related to caching
+Options related to caching.
event_cache_size
The number of events to cache in memory. Not affected by
-caches.global_factor
. Defaults to 10K.
caches.global_factor
and is not part of the caches
section. Defaults to 10K.
Example configuration:
event_cache_size: 15K
cache
and associated valuescaches
and associated valuesA cache 'factor' is a multiplier that can be applied to each of Synapse's caches in order to increase or decrease the maximum number of entries that can be stored.
-Caching can be configured through the following sub-options:
+caches
can be configured through the following sub-options:
global_factor
: Controls the global cache factor, which is the default cache factor
@@ -1078,7 +1078,8 @@ from being emptied while Synapse is evicting due to memory. There is no default
Example configuration:
-caches:
+event_cache_size: 15K
+caches:
global_factor: 1.0
per_cache_factors:
get_users_who_share_room_with_user: 2.0
--
cgit 1.5.1