Skip to content
Extraits de code Groupes Projets
Valider fdda332e rédigé par ThibG's avatar ThibG Validation de Eugen Rochko
Parcourir les fichiers

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”
parent 7c12c7b1
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,8 +3,8 @@ ...@@ -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) %> * * *'
......
...@@ -68,7 +68,7 @@ services: ...@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter