You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
282 B

  1. # frozen_string_literal: true
  2. class FetchReplyWorker
  3. include Sidekiq::Worker
  4. include ExponentialBackoff
  5. sidekiq_options queue: 'pull', retry: 3
  6. def perform(child_url, options = {})
  7. FetchRemoteStatusService.new.call(child_url, **options.deep_symbolize_keys)
  8. end
  9. end