mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Story#108602614 - one more speed optimization
This commit is contained in:
parent
f02ebe5559
commit
34aa3c0741
3 changed files with 8 additions and 2 deletions
|
@ -57,7 +57,7 @@ namespace :import do
|
|||
end
|
||||
next if changes.blank? && event != :destroy
|
||||
obj_his = Legacy::ObjectHistory.find_by(historyid: responder.historyid)
|
||||
user = Legacy::Domain.new_registrar_cached(obj_his.upid || obj_his.clid).try(:api_users).try(:first)
|
||||
user = Legacy::Domain.new_api_user_cached(obj_his.upid || obj_his.clid)
|
||||
|
||||
hash = {
|
||||
item_type: Contact.to_s,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue