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

@ -34,6 +34,6 @@ class BlockedDomain < ApplicationRecord
end
def remove_data
UpdateWhoisRecordJob.enqueue name, 'blocked'
UpdateWhoisRecordJob.perform_later name, 'blocked'
end
end