matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/synapse
Slavi Pantaleev c0308307e2 Make homeserver services sleep after startup, instead of all dependencies sleeping separately
This is an attempt at optimizing service startup.

The effect is most pronounced when many services are restarted one by one.
The systemd service manager role sometimes does this - for example when `just install-service synapse` runs.
In such cases, a 5-second delay for each Synapse worker service
(or other bridge/bot service that waits on the homeserver) quickly adds up to a lot.

When services are all stopped fully and then started, the effect is not so pronounced, because
`matrix-synapse.service` starts first and pulls all worker services (defined as `Wants=` for it).
Later on, when the systemd service manager role "starts" these worker services, they're started already.
Even if they had a 5-second wait each, it would have happened in parallel.
2024-01-12 12:45:18 +02:00
..
bin /usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user 2022-11-27 09:26:18 +02:00
customizations Add support for customizing Synapse templates 2023-02-17 19:37:34 +02:00
ext/s3-storage-provider Apply suggestions from code review 2023-06-13 14:48:44 -05:00
prometheus Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
systemd Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
homeserver.yaml.j2 Added Synapse connection pool config variables 2023-12-16 19:16:05 -06:00
labels.j2 Add support for exposing metrics for Synapse workers 2024-01-12 12:16:06 +02:00
synapse.log.config.j2 Move roles/matrix* to roles/custom/matrix* 2022-11-03 09:11:29 +02:00
worker-labels.j2 Add support for exposing metrics for Synapse workers 2024-01-12 12:16:06 +02:00
worker.yaml.j2 Stop using deprecated worker settings (worker_replication_host, worker_replication_http_port) 2023-07-11 17:20:21 +03:00