mirror of
https://github.com/glitch-soc/mastodon
synced 2025-08-21 20:21:26 +00:00
11 lines
224 B
Ruby
11 lines
224 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ResolveRemoteAccountWorker
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options queue: 'pull', unique: :until_executed
|
|
|
|
def perform(uri)
|
|
ResolveRemoteAccountService.new.call(uri)
|
|
end
|
|
end
|