matrix-docker-ansible-deploy/roles/custom
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
..
etherpad-proxy-connect Fix all 300+ ansible-lint-reported errors 2023-03-07 17:28:15 +02:00
matrix_playbook_migration Add support for exposing metrics for Synapse workers 2024-01-12 12:16:06 +02:00
matrix-base Put all homeservers in the matrix-homeserver container network 2024-01-05 16:49:48 +02:00
matrix-bot-buscarron Adjust homeserver URL for Buscarron 2024-01-07 15:24:11 +02:00
matrix-bot-chatgpt Merge branch 'master' into bye-bye-nginx-proxy 2024-01-05 17:55:49 +02:00
matrix-bot-draupnir Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bot-go-neb Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url) 2024-01-07 17:04:23 +02:00
matrix-bot-honoroit Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url) 2024-01-07 17:04:23 +02:00
matrix-bot-matrix-registration-bot Revert "Auto-generate matrix_bot_matrix_registration_bot_bot_password via group vars" 2024-01-09 10:22:20 +02:00
matrix-bot-matrix-reminder-bot Add missing network-creation tasks for some bot roles 2024-01-07 09:46:09 +02:00
matrix-bot-maubot Fixups for maubot and appservice-slack container labels 2024-01-07 12:48:48 +02:00
matrix-bot-mjolnir Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bot-postmoogle Merge branch 'master' into bye-bye-nginx-proxy 2024-01-05 17:55:49 +02:00
matrix-bridge-appservice-discord Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-appservice-irc Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-appservice-kakaotalk Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-appservice-slack Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-appservice-webhooks Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-beeper-linkedin Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-go-skype-bridge Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-heisenbridge Move matrix-bridge-heisenbridge to its own container network 2024-01-07 15:24:10 +02:00
matrix-bridge-hookshot Switch all remaining container volume mounting from -v to --mount 2024-01-11 12:16:27 +02:00
matrix-bridge-mautrix-discord Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-facebook Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-gmessages Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-googlechat Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-hangouts Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-instagram Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-signal Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-slack Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-telegram Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-twitter Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-whatsapp Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mautrix-wsproxy Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-discord Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-groupme Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-instagram Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-slack Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-steam Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-mx-puppet-twitter Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-bridge-sms Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-cactus-comments Add matrix-cactus-comments-client role 2024-01-09 09:53:01 +02:00
matrix-cactus-comments-client Add matrix-cactus-comments-client role 2024-01-09 09:53:01 +02:00
matrix-client-cinny Move all Matrix client apps into the matrix-addons container network 2024-01-05 07:17:11 +02:00
matrix-client-element Move all Matrix client apps into the matrix-addons container network 2024-01-05 07:17:11 +02:00
matrix-client-hydrogen Move all Matrix client apps into the matrix-addons container network 2024-01-05 07:17:11 +02:00
matrix-client-schildichat Move all Matrix client apps into the matrix-addons container network 2024-01-05 07:17:11 +02:00
matrix-common-after/tasks Fix all 300+ ansible-lint-reported errors 2023-03-07 17:28:15 +02:00
matrix-conduit Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-corporal Add native Traefik support to matrix-corporal (HTTP API) 2023-12-23 10:36:20 +02:00
matrix-coturn Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-dendrite Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-dimension Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-dynamic-dns Switch all remaining container volume mounting from -v to --mount 2024-01-11 12:16:27 +02:00
matrix-email2matrix Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-homeserver-proxy Rename variable for consistency (matrix_homeserver_proxy_ident -> matrix_homeserver_proxy_identifier) 2024-01-09 09:54:42 +02:00
matrix-ldap-registration-proxy Shorten Traefik router names (*-endpoint -> *) 2024-01-11 12:35:41 +02:00
matrix-ma1sd Merge branch 'master' into bye-bye-nginx-proxy 2024-01-09 15:38:23 +02:00
matrix-media-repo Adapt matrix-media-repo to new container network setup, etc. 2024-01-09 18:52:38 +02:00
matrix-nginx-proxy Remvoe all Traefik labels from matrix-nginx-proxy and update docs for delegation via SRV 2024-01-11 12:31:56 +02:00
matrix-prometheus-nginxlog-exporter Switch all remaining container volume mounting from -v to --mount 2024-01-11 12:16:27 +02:00
matrix-prometheus-services-connect Added matrix-media-repo role 2023-07-12 01:09:27 -05:00
matrix-prometheus-services-proxy-connect Clean up some matrix_nginx_proxy_proxy_matrix_metrics_* references 2024-01-04 12:49:00 +02:00
matrix-rageshake Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-registration Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-sliding-sync Merge branch 'master' into bye-bye-nginx-proxy 2024-01-08 13:29:10 +02:00
matrix-static-files Shorten Traefik router name (*-well-known-endpoint -> *-well-known) 2024-01-11 12:35:39 +02:00
matrix-sygnal Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-synapse Make homeserver services sleep after startup, instead of all dependencies sleeping separately 2024-01-12 12:45:18 +02:00
matrix-synapse-admin Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
matrix-synapse-auto-compressor Build latest/main branch of rust-synapse-compress-state for non-amd64 users 2024-01-05 07:05:28 +02:00
matrix-synapse-reverse-proxy-companion Add support for exposing metrics for Synapse workers 2024-01-12 12:16:06 +02:00
matrix-user-creator add ensure-users-created tag alongside with ensure-matrix-users-created 2023-10-02 18:33:21 +03:00
matrix-user-verification-service Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url) 2024-01-07 17:04:23 +02:00