clarify priority of queues

This commit is contained in:
Andy Piper 2024-01-11 11:45:30 +00:00 committed by GitHub
parent b9dccafe81
commit 3009e54b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -106,6 +106,9 @@ Sidekiq uses different queues for tasks of varying importance, where importance
`push`
: Delivery of payloads to other servers.
`ingress`
: Incoming remote activities. Lower priority than the default queue, so that local users still see their posts when the server is under load.
`mailers`
: Delivery of e-mails.
@ -115,9 +118,6 @@ Sidekiq uses different queues for tasks of varying importance, where importance
`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.:
```bash