diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-03-08 19:50:55 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-03-10 13:13:59 +0300 |
commit | 5a135264ae62fc1884118ea600691df666aa9780 (patch) | |
tree | 0e4c7a5fe754ce60a5806d221e05047801230115 /app/workers/authorized_projects_worker.rb | |
parent | 130fd255bc0735d4175f2db2770a9092882fa3a4 (diff) |
adds queue option to push bulk in authorized projects worker
Diffstat (limited to 'app/workers/authorized_projects_worker.rb')
-rw-r--r-- | app/workers/authorized_projects_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/authorized_projects_worker.rb b/app/workers/authorized_projects_worker.rb index 0e20df506a3..13207a8bc71 100644 --- a/app/workers/authorized_projects_worker.rb +++ b/app/workers/authorized_projects_worker.rb @@ -10,7 +10,7 @@ class AuthorizedProjectsWorker end def self.bulk_perform_async(args_list) - Sidekiq::Client.push_bulk('class' => self, 'args' => args_list) + Sidekiq::Client.push_bulk('class' => self, 'queue' => sidekiq_options['queue'], 'args' => args_list) end def perform(user_id) |