Skip to content

Commit

Permalink
chore: better control of sidekiq queues concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
celsoMartins committed Oct 11, 2023
1 parent 834e86a commit 7450081
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ gem 'pg'
gem 'redis'
gem 'rollbar'
gem 'sidekiq', '= 6.5.7'
gem 'sidekiq-limit_fetch'
gem 'slack-notifier'
gem 'sprockets-rails', require: 'sprockets/railtie'
gem 'uglifier'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ GEM
connection_pool (>= 2.2.5)
rack (~> 2.0)
redis (>= 4.5.0, < 5)
sidekiq-limit_fetch (4.4.1)
sidekiq (>= 6)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand Down Expand Up @@ -532,6 +534,7 @@ DEPENDENCIES
rubycritic
shoulda-matchers
sidekiq (= 6.5.7)
sidekiq-limit_fetch
simplecov
slack-notifier
sprockets-rails
Expand Down
4 changes: 4 additions & 0 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ queues:
- critical
- default
- low

limits:
default: 2
low: 2

0 comments on commit 7450081

Please sign in to comment.