This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change
1
+ Make the configuration for the cache clearer.
Original file line number Diff line number Diff line change @@ -1056,26 +1056,26 @@ allow_device_name_lookup_over_federation: true
1056
1056
---
1057
1057
# # Caching ##
1058
1058
1059
- Options related to caching
1059
+ Options related to caching.
1060
1060
1061
1061
---
1062
1062
# ## `event_cache_size`
1063
1063
1064
1064
The number of events to cache in memory. Not affected by
1065
- ` caches.global_factor` . Defaults to 10K.
1065
+ ` caches.global_factor` and is not part of the `caches` section . Defaults to 10K.
1066
1066
1067
1067
Example configuration :
1068
1068
` ` ` yaml
1069
1069
event_cache_size: 15K
1070
1070
` ` `
1071
1071
---
1072
- # ## `cache ` and associated values
1072
+ # ## `caches ` and associated values
1073
1073
1074
1074
A cache 'factor' is a multiplier that can be applied to each of
1075
1075
Synapse's caches in order to increase or decrease the maximum
1076
1076
number of entries that can be stored.
1077
1077
1078
- Caching can be configured through the following sub-options :
1078
+ `caches` can be configured through the following sub-options :
1079
1079
1080
1080
* `global_factor`: Controls the global cache factor, which is the default cache factor
1081
1081
for all caches if a specific factor for that cache is not otherwise
@@ -1137,6 +1137,7 @@ Caching can be configured through the following sub-options:
1137
1137
1138
1138
Example configuration :
1139
1139
` ` ` yaml
1140
+ event_cache_size: 15K
1140
1141
caches:
1141
1142
global_factor: 1.0
1142
1143
per_cache_factors:
You can’t perform that action at this time.
0 commit comments