Minor cleanups

This commit is contained in:
Slavi Pantaleev
2024-01-17 10:53:20 +02:00
parent 396ab9f200
commit 116e9fad86
3 changed files with 3 additions and 4 deletions

View File

@ -548,8 +548,7 @@ matrix_synapse_event_cache_size: "100K"
# Raise this to increase cache sizes or lower it to potentially lower memory use.
# To learn more, see:
# - https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caching
# - https://github.com/element-hq/synapse#help-synapse-eats-all-my-ram
# - https://github.com/element-hq/synapse/issues/3939
# - https://github.com/matrix-org/synapse/issues/3939
matrix_synapse_caches_global_factor: 10
matrix_synapse_caches_expire_caches: true
matrix_synapse_caches_cache_entry_ttl: "30m"

View File

@ -760,7 +760,7 @@ federation_domain_whitelist: {{ matrix_synapse_federation_domain_whitelist|to_js
# The number of events to cache in memory. Not affected by
# caches.global_factor.
#
event_cache_size: "{{ matrix_synapse_event_cache_size }}"
event_cache_size: {{ matrix_synapse_event_cache_size | to_json }}
caches:
# Controls the global cache factor, which is the default cache factor