Fix sidekiq queues ordering in production guide (#673)

* Fix sidekiq queues ordering in production guide

The ordering defines the priority, and the code expects default > push > pull > mailers

* Swap mailers and pull queues

The `mailers` queue contains all kinds of notifications, it's probably more important than `pull` jobs.
This commit is contained in:
ThibG 2018-08-23 13:37:36 +02:00 committed by Eugen Rochko
parent 4f1e930508
commit 0f1da2392e
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ User=mastodon
WorkingDirectory=/home/mastodon/live
Environment="RAILS_ENV=production"
Environment="DB_POOL=5"
ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 5 -q default -q mailers -q pull -q push
ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 5 -q default -q push -q mailers -q pull
TimeoutSec=15
Restart=always