Move ProcessingWorker/SalmonWorker into pull queue

This commit is contained in:
Eugen Rochko 2017-04-06 00:21:00 +02:00
parent 40d390e85d
commit 634110d8bd
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
class ProcessingWorker
include Sidekiq::Worker
sidekiq_options backtrace: true
sidekiq_options queue: 'pull', backtrace: true
def perform(account_id, body)
ProcessFeedService.new.call(body, Account.find(account_id))

View file

@ -3,7 +3,7 @@
class SalmonWorker
include Sidekiq::Worker
sidekiq_options backtrace: true
sidekiq_options queue: 'pull', backtrace: true
def perform(account_id, body)
ProcessInteractionService.new.call(body, Account.find(account_id))