Move jobs from Que to ActiveJob

This commit is contained in:
Alex Sherman 2020-10-19 16:01:20 +05:00
parent 1d3be40e14
commit 313731232e
53 changed files with 390 additions and 157 deletions

View file

@ -59,6 +59,6 @@ class ReservedDomain < ApplicationRecord
alias_method :update_whois_record, :generate_data
def remove_data
UpdateWhoisRecordJob.enqueue name, 'reserved'
UpdateWhoisRecordJob.perform_later name, 'reserved'
end
end