Add the ability to control event_cache_size for Synapse

I've found the previous 10K default value to be way too low
on a bunch of servers I'm running, so it's now up to
100K and made configurable.
This commit is contained in:
Slavi Pantaleev
2018-09-07 16:13:50 +03:00
parent b52d91e180
commit 7adcdf3040
3 changed files with 11 additions and 1 deletions

View File

@ -71,6 +71,9 @@ matrix_synapse_report_stats: false
# Controls password-peppering for Matrix Synapse. Not to be changed after initial setup.
matrix_synapse_password_config_pepper: ""
# Controls the number of events that Matrix Synapse caches in memory.
matrix_synapse_event_cache_size: "100K"
# A list of additional "volumes" to mount in the container.
# This list gets populated dynamically based on Synapse extensions that have been enabled.
# Contains definition objects like this: `{"src": "/outside", "dst": "/inside", "options": "rw|ro|slave|.."}