~cytrogen/masto-fe

ref: 6ac4848fbb08bc5c439d7d738cecc163cb5ec231 masto-fe/app/workers/resolve_account_worker.rb -rw-r--r-- 232 bytes
6ac4848f — Laura Hausmann Merge remote-tracking branch 'upstream' into glitch 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class ResolveAccountWorker
  include Sidekiq::Worker

  sidekiq_options queue: 'pull', lock: :until_executed, lock_ttl: 1.day.to_i

  def perform(uri)
    ResolveAccountService.new.call(uri)
  end
end