diff --git a/app/workers/check_brand_clusters.rb b/app/workers/check_brand_clusters.rb index 080bfbe23..59620fbd3 100644 --- a/app/workers/check_brand_clusters.rb +++ b/app/workers/check_brand_clusters.rb @@ -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) } diff --git a/config/sidekiq.yml b/config/sidekiq.yml index f9dcf2851..d9d1d087f 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -3,3 +3,4 @@ :queues: - mailers - default + - low