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

class ResolveAccountWorker
  include Sidekiq::Worker

  sidekiq_options queue: 'pull', lock: :until_executed

  def perform(uri)
    ResolveAccountService.new.call(uri)
  end
end