mirror of https://github.com/mastodon/mastodon
12 lines
212 B
Ruby
12 lines
212 B
Ruby
8 years ago
|
# frozen_string_literal: true
|
||
|
|
||
7 years ago
|
class ResolveAccountWorker
|
||
8 years ago
|
include Sidekiq::Worker
|
||
|
|
||
|
sidekiq_options queue: 'pull', unique: :until_executed
|
||
|
|
||
|
def perform(uri)
|
||
7 years ago
|
ResolveAccountService.new.call(uri)
|
||
8 years ago
|
end
|
||
|
end
|