Move Link Crawler to different queue

This commit is contained in:
Fosco Marotto 2021-02-04 18:09:04 -05:00
parent 5f939abfbe
commit fdca30cd97

View File

@ -3,7 +3,7 @@
class LinkCrawlWorker class LinkCrawlWorker
include Sidekiq::Worker include Sidekiq::Worker
sidekiq_options queue: 'pull', retry: 3 sidekiq_options queue: 'default', retry: 3
def perform(status_id) def perform(status_id)
FetchLinkCardService.new.call(Status.find(status_id)) FetchLinkCardService.new.call(Status.find(status_id))