Update docker config and move some workers to different queues (#8345)

* Reorder docker-compose's sidekiq queues to match config/sidekiq.yml

* Make the ̀“mailers” queue higher priority than “pull”
lolsob-rspec
ThibG 2018-09-02 16:13:06 +02:00 committed by Eugen Rochko
parent e84ae0d8a2
commit 56caf50db7
2 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
:queues: :queues:
- default - default
- push - push
- pull
- mailers - mailers
- pull
:schedule: :schedule:
subscriptions_scheduler: subscriptions_scheduler:
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *' cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'

View File

@ -68,7 +68,7 @@ services:
image: tootsuite/mastodon image: tootsuite/mastodon
restart: always restart: always
env_file: .env.production env_file: .env.production
command: bundle exec sidekiq -q default -q mailers -q pull -q push command: bundle exec sidekiq -q default -q push -q mailers -q pull
depends_on: depends_on:
- db - db
- redis - redis