From 0f1da2392e8de1bc0abbd4458776a0022f0c61c6 Mon Sep 17 00:00:00 2001 From: ThibG Date: Thu, 23 Aug 2018 13:37:36 +0200 Subject: [PATCH] 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. --- Running-Mastodon/Production-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Running-Mastodon/Production-guide.md b/Running-Mastodon/Production-guide.md index b9b95c27..74ab4745 100644 --- a/Running-Mastodon/Production-guide.md +++ b/Running-Mastodon/Production-guide.md @@ -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