This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-09-03 01:11:23 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-22 14:25:09 +01:00
|
|
|
class ResolveAccountWorker
|
2017-09-03 01:11:23 +02:00
|
|
|
include Sidekiq::Worker
|
|
|
|
|
2020-03-31 21:59:03 +02:00
|
|
|
sidekiq_options queue: 'pull', lock: :until_executed
|
2017-09-03 01:11:23 +02:00
|
|
|
|
|
|
|
def perform(uri)
|
2018-01-22 14:25:09 +01:00
|
|
|
ResolveAccountService.new.call(uri)
|
2017-09-03 01:11:23 +02:00
|
|
|
end
|
|
|
|
end
|