2017-09-03 08:11:23 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-22 22:25:09 +09:00
|
|
|
class ResolveAccountWorker
|
2017-09-03 08:11:23 +09:00
|
|
|
include Sidekiq::Worker
|
|
|
|
|
2023-10-03 17:09:00 +09:00
|
|
|
sidekiq_options queue: 'pull', lock: :until_executed, lock_ttl: 1.day.to_i
|
2017-09-03 08:11:23 +09:00
|
|
|
|
|
|
|
def perform(uri)
|
2018-01-22 22:25:09 +09:00
|
|
|
ResolveAccountService.new.call(uri)
|
2017-09-03 08:11:23 +09:00
|
|
|
end
|
|
|
|
end
|