resolve_account_worker.rb 232 B

1234567891011
  1. # frozen_string_literal: true
  2. class ResolveAccountWorker
  3. include Sidekiq::Worker
  4. sidekiq_options queue: 'pull', lock: :until_executed, lock_ttl: 1.day.to_i
  5. def perform(uri)
  6. ResolveAccountService.new.call(uri)
  7. end
  8. end