Просмотр исходного кода

Fix Linting errors in synapses main.yml

pull/3017/head
Catalan Lover 2 лет назад
Родитель
Сommit
33ed19e210
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 649BCCF930C07F70
1 измененных файлов: 2 добавлений и 6 удалений
  1. +2
    -6
      roles/custom/matrix-synapse/defaults/main.yml

+ 2
- 6
roles/custom/matrix-synapse/defaults/main.yml Просмотреть файл

@@ -544,9 +544,6 @@ matrix_synapse_password_config_localdb_enabled: true
# Controls the number of events that Synapse caches in memory.
matrix_synapse_event_cache_size: "100K"




# Controls cache sizes for Synapse.
# Raise this to increase cache sizes or lower it to potentially lower memory use.
# To learn more, see:
@@ -560,14 +557,13 @@ matrix_synapse_caches_expire_caches: true
matrix_synapse_caches_cache_entry_ttl: "1080m"
matrix_synapse_caches_sync_response_cache_duration: "2m"
matrix_synapse_caches_autotuning_min_cache_ttl: "30s"
# The Cache tune math used here is a derivative of the same math used to autotune sizes for postgres.
# The Cache tune math used here is a derivative of the same math used to autotune sizes for postgres.
# The memtotal variable can in theory be overiden to make Synapse think it has less ram to work with.
# But if your at the point of considering that just override the math or put static values in.
# But if your at the point of considering that just override the math or put static values in.
matrix_synapse_memtotal_kb: "{{ ansible_memtotal_mb*1024|int }}"
matrix_synapse_caches_autotuning_max_cache_memory_usage: "{{ 2097152 if (matrix_synapse_memtotal_kb|int/8)/1024 >= 2048 else matrix_synapse_memtotal_kb|int/8 }}"
matrix_synapse_caches_autotuning_target_cache_memory_usage: "{{ 1048576 if (matrix_synapse_memtotal_kb|int/16)/1024 >= 1024 else matrix_synapse_memtotal_kb|int/16 }}"


# Controls whether Synapse will federate at all.
# Disable this to completely isolate your server from the rest of the Matrix network.
#


Загрузка…
Отмена
Сохранить