Change queue of job when opting into search from `default` to `pull` (#26688)

This commit is contained in:
Eugen Rochko 2023-08-27 18:58:20 +02:00 committed by GitHub
parent 925c16adea
commit f8d2fea2e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
class AddToPublicStatusesIndexWorker
include Sidekiq::Worker
sidekiq_options queue: 'pull'
def perform(account_id)
account = Account.find(account_id)