Move event_cache_size to CacheConfig

pull/6391/head
Andrew Morgan 2020-05-01 19:44:44 +01:00
parent fe890508cc
commit ae6070bc12
3 changed files with 12 additions and 8 deletions

View File

@ -634,10 +634,6 @@ database:
args:
database: DATADIR/homeserver.db
# Number of events to cache in memory.
#
#event_cache_size: 10K
## Logging ##
@ -1979,6 +1975,12 @@ opentracing:
# Caching can be configured through the following options.
#
# The number of events to cache in memory. Not affected by the
# caches.global_factor.
#
#event_cache_size: 10K
caches:
# Controls the global cache factor. This can be overridden by the
# "SYNAPSE_CACHE_FACTOR" environment variable.

View File

@ -74,6 +74,12 @@ class CacheConfig(Config):
# Caching can be configured through the following options.
#
# The number of events to cache in memory. Not affected by the
# caches.global_factor.
#
#event_cache_size: 10K
caches:
# Controls the global cache factor. This can be overridden by the
# "SYNAPSE_CACHE_FACTOR" environment variable.

View File

@ -68,10 +68,6 @@ database:
name: sqlite3
args:
database: %(database_path)s
# Number of events to cache in memory.
#
#event_cache_size: 10K
"""