From 5e840828e8fe5e7a301515e9824c7eb7c8c7e74f Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 11 Dec 2023 14:20:11 +0000 Subject: [PATCH] Table -> defn list per suggestion. Signed-off-by: Andy Piper --- content/en/admin/scaling.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/content/en/admin/scaling.md b/content/en/admin/scaling.md index 2f523e6f..d255c72a 100644 --- a/content/en/admin/scaling.md +++ b/content/en/admin/scaling.md @@ -98,16 +98,25 @@ This would initiate the Sidekiq process with 15 threads. It is important to note #### Queues {#sidekiq-queues} -Sidekiq uses different queues for tasks of varying importance, where importance is defined by how much it would impact the user experience of your server’s local users if the queue wasn’t working, in order of descending importance: +Sidekiq uses different queues for tasks of varying importance, where importance is defined by how much it would impact the user experience of your server’s local users if the queue wasn’t working. The queues are listed here, in order of descending importance: -| Queue | Significance | -| :---------- | :----------------------------------------------------------------------------------------------------------------------------------- | -| `default` | All tasks that affect local users. | -| `push` | Delivery of payloads to other servers. | -| `mailers` | Delivery of e-mails. | -| `pull` | Lower priority tasks such as handling imports, backups, resolving threads, deleting users, forwarding replies. | -| `scheduler` | Handling cron jobs such as refreshing trending hashtags and cleaning up logs. | -| `ingress` | Incoming remote activities. Lower priority than the default queue, so that local users still see their posts when the server is under load. | +`default` +: All tasks that affect local users. + +`push` +: Delivery of payloads to other servers. + +`mailers` +: Delivery of e-mails. + +`pull` +: Lower priority tasks, such as handling imports, backups, resolving threads, deleting users, forwarding replies. + +`scheduler` +: Handling cron jobs, such as refreshing trending hashtags and cleaning up logs. + +`ingress` +: Incoming remote activities. Lower priority than the default queue, so that local users still see their posts when the server is under load. The default queues and their priorities are stored in [config/sidekiq.yml](https://github.com/mastodon/mastodon/blob/main/config/sidekiq.yml), but can be overridden by the command-line invocation of Sidekiq, e.g.: