Added 1 minute pause before updating whois

This commit is contained in:
Alex Sherman 2021-06-09 13:47:59 +05:00
parent af5f66f1de
commit f985250937

View file

@ -655,7 +655,7 @@ class Domain < ApplicationRecord
end
def update_whois_record
UpdateWhoisRecordJob.perform_later name, 'domain'
UpdateWhoisRecordJob.set(wait: 1.minute).perform_later name, 'domain'
end
def status_notes_array=(notes)