~cytrogen/masto-fe

ref: e2f58c8c82d66040490a70db2ce9fb8f49d02a8f masto-fe/app/workers/fetch_reply_worker.rb -rw-r--r-- 282 bytes
e2f58c8c — dependabot[bot] Bump capybara from 3.38.0 to 3.39.0 (#24395) 3 years ago
                                                                                
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, options = {})
    FetchRemoteStatusService.new.call(child_url, **options.deep_symbolize_keys)
  end
end