Skip to content

Commit

Permalink
Sidekiq config: always process all jobs in this queue order
Browse files Browse the repository at this point in the history
priority jobs > devise > default

All priority jobs will be worked on until they are done, before devise, and before default jobs.
  • Loading branch information
ewlarson committed Oct 18, 2023
1 parent e25e314 commit c202aa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sidekiq: bundle exec sidekiq -q priority,2 -q devise,1 -q default
sidekiq: bundle exec sidekiq -q priority -q devise -q default
sidekiq_web: bundle exec puma sidekiq.ru
4 changes: 2 additions & 2 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
:max_retries: 1

:queues:
- [priority, 2]
- [devise, 1]
- priority
- devise
- default

0 comments on commit c202aa3

Please sign in to comment.