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

Increase delay after starting of matrix-synapse

10 seconds is a better default for slower (or overloaded) servers
pull/3115/head
Slavi Pantaleev 2 лет назад
Родитель
Сommit
3ba0642bcf
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2

+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse.service.j2 Просмотреть файл

@@ -68,7 +68,7 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach m


# Intentional delay, so that the homeserver can manage to start and various services # Intentional delay, so that the homeserver can manage to start and various services
# that depend on it (After/Requires) may only start after the homeserver is up and running. # that depend on it (After/Requires) may only start after the homeserver is up and running.
ExecStartPost=-{{ matrix_host_command_sleep }} 5
ExecStartPost=-{{ matrix_host_command_sleep }} 10


ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} stop --time={{ devture_systemd_docker_base_container_stop_grace_time_seconds }} matrix-synapse 2>/dev/null || true' ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} stop --time={{ devture_systemd_docker_base_container_stop_grace_time_seconds }} matrix-synapse 2>/dev/null || true'
ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm matrix-synapse 2>/dev/null || true' ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm matrix-synapse 2>/dev/null || true'


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