about summary refs log tree commit diff
path: root/app/workers/fetch_reply_worker.rb
blob: f7aa25e815b23638c160ecf500ae7d9718d52b64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class FetchReplyWorker
  include Sidekiq::Worker
  include ExponentialBackoff

  sidekiq_options queue: 'pull', retry: 3

  def perform(child_url)
    FetchRemoteStatusService.new.call(child_url)
  end
end