mashirozx/mastodon

View on GitHub
app/workers/resolve_account_worker.rb

Summary

Maintainability
A
0 mins
Test Coverage
# 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