mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-27 22:38:35 +09:00
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”
This commit is contained in:
parent
7c12c7b124
commit
fdda332e4d
@ -3,8 +3,8 @@
|
||||
:queues:
|
||||
- default
|
||||
- push
|
||||
- pull
|
||||
- mailers
|
||||
- pull
|
||||
:schedule:
|
||||
subscriptions_scheduler:
|
||||
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
|
||||
|
@ -68,7 +68,7 @@ services:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user