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:
parent
4f1e930508
commit
0f1da2392e
|
@ -437,7 +437,7 @@ User=mastodon
|
||||||
WorkingDirectory=/home/mastodon/live
|
WorkingDirectory=/home/mastodon/live
|
||||||
Environment="RAILS_ENV=production"
|
Environment="RAILS_ENV=production"
|
||||||
Environment="DB_POOL=5"
|
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
|
TimeoutSec=15
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue