mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-30 03:44:56 +01:00
Fix incorrect indication in homeserver.yaml.j2
This commit is contained in:
parent
055cbf3208
commit
396ab9f200
@ -763,35 +763,34 @@ federation_domain_whitelist: {{ matrix_synapse_federation_domain_whitelist|to_js
|
|||||||
event_cache_size: "{{ matrix_synapse_event_cache_size }}"
|
event_cache_size: "{{ matrix_synapse_event_cache_size }}"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
# Controls the global cache factor, which is the default cache factor
|
# Controls the global cache factor, which is the default cache factor
|
||||||
# for all caches if a specific factor for that cache is not otherwise
|
# for all caches if a specific factor for that cache is not otherwise
|
||||||
# set.
|
# set.
|
||||||
#
|
#
|
||||||
# This can also be set by the "SYNAPSE_CACHE_FACTOR" environment
|
# This can also be set by the "SYNAPSE_CACHE_FACTOR" environment
|
||||||
# variable. Setting by environment variable takes priority over
|
# variable. Setting by environment variable takes priority over
|
||||||
# setting through the config file.
|
# setting through the config file.
|
||||||
#
|
#
|
||||||
# Defaults to 0.5, which will half the size of all caches.
|
# Defaults to 0.5, which will half the size of all caches.
|
||||||
#
|
#
|
||||||
global_factor: {{ matrix_synapse_caches_global_factor }}
|
global_factor: {{ matrix_synapse_caches_global_factor | to_json }}
|
||||||
|
# A dictionary of cache name to cache factor for that individual
|
||||||
# A dictionary of cache name to cache factor for that individual
|
# cache. Overrides the global cache factor for a given cache.
|
||||||
# cache. Overrides the global cache factor for a given cache.
|
#
|
||||||
#
|
# These can also be set through environment variables comprised
|
||||||
# These can also be set through environment variables comprised
|
# of "SYNAPSE_CACHE_FACTOR_" + the name of the cache in capital
|
||||||
# of "SYNAPSE_CACHE_FACTOR_" + the name of the cache in capital
|
# letters and underscores. Setting by environment variable
|
||||||
# letters and underscores. Setting by environment variable
|
# takes priority over setting through the config file.
|
||||||
# takes priority over setting through the config file.
|
# Ex. SYNAPSE_CACHE_FACTOR_GET_USERS_WHO_SHARE_ROOM_WITH_USER=2.0
|
||||||
# Ex. SYNAPSE_CACHE_FACTOR_GET_USERS_WHO_SHARE_ROOM_WITH_USER=2.0
|
#
|
||||||
#
|
# Some caches have '*' and other characters that are not
|
||||||
# Some caches have '*' and other characters that are not
|
# alphanumeric or underscores. These caches can be named with or
|
||||||
# alphanumeric or underscores. These caches can be named with or
|
# without the special characters stripped. For example, to specify
|
||||||
# without the special characters stripped. For example, to specify
|
# the cache factor for `*stateGroupCache*` via an environment
|
||||||
# the cache factor for `*stateGroupCache*` via an environment
|
# variable would be `SYNAPSE_CACHE_FACTOR_STATEGROUPCACHE=2.0`.
|
||||||
# variable would be `SYNAPSE_CACHE_FACTOR_STATEGROUPCACHE=2.0`.
|
#
|
||||||
#
|
per_cache_factors:
|
||||||
per_cache_factors:
|
#get_users_who_share_room_with_user: 2.0
|
||||||
#get_users_who_share_room_with_user: 2.0
|
|
||||||
|
|
||||||
# Controls whether cache entries are evicted after a specified time
|
# Controls whether cache entries are evicted after a specified time
|
||||||
# period. Defaults to true. Uncomment to disable this feature.
|
# period. Defaults to true. Uncomment to disable this feature.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user