2017-09-03 09:11:23 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-23 00:25:09 +11:00
|
|
|
class ResolveAccountWorker
|
2017-09-03 09:11:23 +10:00
|
|
|
include Sidekiq::Worker
|
|
|
|
|
2020-04-01 06:59:03 +11:00
|
|
|
sidekiq_options queue: 'pull', lock: :until_executed
|
2017-09-03 09:11:23 +10:00
|
|
|
|
|
|
|
def perform(uri)
|
2018-01-23 00:25:09 +11:00
|
|
|
ResolveAccountService.new.call(uri)
|
2017-09-03 09:11:23 +10:00
|
|
|
end
|
|
|
|
end
|