Sfoglia il codice sorgente

synapse: preload libjemalloc

Preload the jemalloc library supported by the upcoming 1.30.0 release
pull/941/head
Béla Becker 5 anni fa
parent
commit
ef38ed6496
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +1
    -0
      roles/matrix-synapse/templates/synapse/systemd/matrix-synapse-worker.service.j2
  2. +1
    -0
      roles/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2

+ 1
- 0
roles/matrix-synapse/templates/synapse/systemd/matrix-synapse-worker.service.j2 Vedi File

@@ -39,6 +39,7 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name {{ matrix_synapse_wor
--mount type=bind,src={{ matrix_synapse_storage_path }},dst=/matrix-media-store-parent,bind-propagation=slave \
{% for volume in matrix_synapse_container_additional_volumes %}
-v {{ volume.src }}:{{ volume.dst }}:{{ volume.options }} \
-e "LD_PRELOAD=/usr/lib/{{ ansible_machine }}-linux-gnu/libjemalloc.so.2" \
{% endfor %}
{% for arg in matrix_synapse_container_extra_arguments %}
{{ arg }} \


+ 1
- 0
roles/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 Vedi File

@@ -58,6 +58,7 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-synapse \
{% for volume in matrix_synapse_container_additional_volumes %}
-v {{ volume.src }}:{{ volume.dst }}:{{ volume.options }} \
{% endfor %}
-e "LD_PRELOAD=/usr/lib/{{ ansible_machine }}-linux-gnu/libjemalloc.so.2" \
{% for arg in matrix_synapse_container_extra_arguments %}
{{ arg }} \
{% endfor %}


Caricamento…
Annulla
Salva