Skip to content

Commit

Permalink
Low priority queue to put the CheckCluster job on
Browse files Browse the repository at this point in the history
Those should run after more important jobs. They are queued en masse, so they
regularly block other things from progressing.
  • Loading branch information
ujh committed Dec 17, 2024
1 parent 860e8fc commit 2acc241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/workers/check_brand_clusters.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
class CheckBrandClusters
include Sidekiq::Worker

sidekiq_options queue: "low"

def perform(ids = nil)
if ids.present?
Array(ids).each { |id| check_cluster(id) }
Expand Down
1 change: 1 addition & 0 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
:queues:
- mailers
- default
- low

0 comments on commit 2acc241

Please sign in to comment.