diff options
author | Viv Lim <vivlim@pm.me> | 2022-11-19 13:55:13 -0800 |
---|---|---|
committer | Kerstin <kerstin@erictapen.name> | 2023-04-06 16:30:16 +0200 |
commit | c778f4d225da93bf4eb0e24be47e14f868374c5c (patch) | |
tree | c2c7ee00c36b23510f2fda17421c749624001bbc /nixos/tests/web-apps | |
parent | 3a78cc5374e2f88956d3453bb6503a304ac97be3 (diff) |
nixos/mastodon: Allow configuring sidekiq processes
This change allows the number of sidekiq processes and which job classes they handle to be configured. An instance admin may choose to have separate sidekiq processes handling jobs related to local users (`default` job class) and jobs related to federation (`push`, `pull`, `ingress`), so that as the instance grows and takes on more federation traffic, the local users' experience is not as impacted. For more details, see https://docs.joinmastodon.org/admin/scaling/#sidekiq This pr also includes the following changes suggested in review: - adds syslog identifiers for mastodon services - moves working directory config to common cfgService - adds mastodon.target
Diffstat (limited to 'nixos/tests/web-apps')
-rw-r--r-- | nixos/tests/web-apps/mastodon/script.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/web-apps/mastodon/script.nix b/nixos/tests/web-apps/mastodon/script.nix index cdb1d4379b645..a89b4b7480e99 100644 --- a/nixos/tests/web-apps/mastodon/script.nix +++ b/nixos/tests/web-apps/mastodon/script.nix @@ -9,7 +9,7 @@ ${extraInit} server.wait_for_unit("redis-mastodon.service") - server.wait_for_unit("mastodon-sidekiq.service") + server.wait_for_unit("mastodon-sidekiq-all.service") server.wait_for_unit("mastodon-streaming.service") server.wait_for_unit("mastodon-web.service") server.wait_for_open_port(55000) |