mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Add to_json to various Synapse tuning related configs
This commit is contained in:
parent
2481c9cebc
commit
055cbf3208
@ -796,13 +796,13 @@ caches:
|
|||||||
# 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.
|
||||||
#
|
#
|
||||||
expire_caches: {{ matrix_synapse_caches_expire_caches }}
|
expire_caches: {{ matrix_synapse_caches_expire_caches | to_json }}
|
||||||
|
|
||||||
# If expire_caches is enabled, this flag controls how long an entry can
|
# If expire_caches is enabled, this flag controls how long an entry can
|
||||||
# be in a cache without having been accessed before being evicted.
|
# be in a cache without having been accessed before being evicted.
|
||||||
# Defaults to 30m. Uncomment to set a different time to live for cache entries.
|
# Defaults to 30m. Uncomment to set a different time to live for cache entries.
|
||||||
#
|
#
|
||||||
cache_entry_ttl: {{ matrix_synapse_caches_cache_entry_ttl }}
|
cache_entry_ttl: {{ matrix_synapse_caches_cache_entry_ttl | to_json }}
|
||||||
|
|
||||||
# Controls how long the results of a /sync request are cached for after
|
# Controls how long the results of a /sync request are cached for after
|
||||||
# a successful response is returned. A higher duration can help clients with
|
# a successful response is returned. A higher duration can help clients with
|
||||||
@ -811,16 +811,16 @@ caches:
|
|||||||
# By default, this is zero, which means that sync responses are not cached
|
# By default, this is zero, which means that sync responses are not cached
|
||||||
# at all.
|
# at all.
|
||||||
#
|
#
|
||||||
sync_response_cache_duration: {{ matrix_synapse_caches_sync_response_cache_duration }}
|
sync_response_cache_duration: {{ matrix_synapse_caches_sync_response_cache_duration | to_json }}
|
||||||
|
|
||||||
#FIX ME add documentation notes about these settings or remove this note.
|
#FIX ME add documentation notes about these settings or remove this note.
|
||||||
# Check upstream https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caching
|
# Check upstream https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caching
|
||||||
# for information for now
|
# for information for now
|
||||||
#
|
#
|
||||||
cache_autotuning:
|
cache_autotuning:
|
||||||
max_cache_memory_usage: {{ matrix_synapse_caches_autotuning_max_cache_memory_usage }}
|
max_cache_memory_usage: {{ matrix_synapse_caches_autotuning_max_cache_memory_usage | to_json }}
|
||||||
target_cache_memory_usage: {{ matrix_synapse_caches_autotuning_target_cache_memory_usage }}
|
target_cache_memory_usage: {{ matrix_synapse_caches_autotuning_target_cache_memory_usage | to_json }}
|
||||||
min_cache_ttl: {{ matrix_synapse_caches_autotuning_min_cache_ttl }}
|
min_cache_ttl: {{ matrix_synapse_caches_autotuning_min_cache_ttl | to_json }}
|
||||||
|
|
||||||
|
|
||||||
## Database ##
|
## Database ##
|
||||||
|
Loading…
Reference in New Issue
Block a user