Change queue of job when opting into search from `default` to `pull` (#26688)
parent
2cb30c25dc
commit
a0373d049d
|
@ -3,6 +3,8 @@
|
||||||
class AddToPublicStatusesIndexWorker
|
class AddToPublicStatusesIndexWorker
|
||||||
include Sidekiq::Worker
|
include Sidekiq::Worker
|
||||||
|
|
||||||
|
sidekiq_options queue: 'pull'
|
||||||
|
|
||||||
def perform(account_id)
|
def perform(account_id)
|
||||||
account = Account.find(account_id)
|
account = Account.find(account_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue