mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 23:49:42 +00:00
Change queue of job when opting into search from default
to pull
(#26688)
This commit is contained in:
parent
925c16adea
commit
f8d2fea2e6
|
@ -3,6 +3,8 @@
|
|||
class AddToPublicStatusesIndexWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options queue: 'pull'
|
||||
|
||||
def perform(account_id)
|
||||
account = Account.find(account_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue