matrix-docker-ansible-deploy/roles/custom/matrix-dendrite/templates
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 Add native Traefik support to matrix-dendrite 2024-01-11 11:30:42 +02:00
systemd Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
dendrite.yaml.j2 Add native Traefik support to matrix-dendrite 2024-01-11 11:30:42 +02:00
labels.j2 Add metrics-exposure support for Dendrite 2024-01-11 12:02:15 +02:00