This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2019-02-28 06:22:21 -08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class FetchReplyWorker
|
|
|
|
include Sidekiq::Worker
|
|
|
|
include ExponentialBackoff
|
|
|
|
|
|
|
|
sidekiq_options queue: 'pull', retry: 3
|
|
|
|
|
2023-02-10 13:16:37 -08:00
|
|
|
def perform(child_url, options = {})
|
|
|
|
FetchRemoteStatusService.new.call(child_url, **options.deep_symbolize_keys)
|
2019-02-28 06:22:21 -08:00
|
|
|
end
|
|
|
|
end
|