* Reorder docker-compose's sidekiq queues to match config/sidekiq.yml
* Make the ̀“mailers” queue higher priority than “pull”
:queues:
- default
- push
- - pull
- mailers
+ - pull
:schedule:
subscriptions_scheduler:
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
image: tootsuite/mastodon
restart: always
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:
- db
- redis