diff options
Diffstat (limited to 'app/workers/resolve_account_worker.rb')
-rw-r--r-- | app/workers/resolve_account_worker.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/workers/resolve_account_worker.rb b/app/workers/resolve_account_worker.rb new file mode 100644 index 000000000..cd7c4d7dd --- /dev/null +++ b/app/workers/resolve_account_worker.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class ResolveAccountWorker + include Sidekiq::Worker + + sidekiq_options queue: 'pull', unique: :until_executed + + def perform(uri) + ResolveAccountService.new.call(uri) + end +end |