~cytrogen/masto-fe

ref: 3afa1fda7a17c5e4e3587b9f7d11c84f12168614 masto-fe/app/workers/fetch_reply_worker.rb -rw-r--r-- 282 bytes
3afa1fda — Daniel M Brasil Fix email confirmation skip option in `tootctl accounts modify USERNAME --email EMAIL --confirm` (#24578) 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