mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 01:36:02 +02:00
Stroy#110392672 - Contact domains update should be async
This commit is contained in:
parent
438b22f19d
commit
678852091b
3 changed files with 4 additions and 4 deletions
|
@ -498,7 +498,7 @@ class Contact < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def update_related_whois_records
|
||||
related_domain_descriptions.each{ |x, y| WhoisRecord.find_by(name: x).try(:save) }
|
||||
RegenerateWhoisRecordJob.enqueue related_domain_descriptions.keys, :name
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue