Added debug messages to get more details about issue on ci env.
This commit is contained in:
parent
752ed6d73f
commit
6642017f23
1 changed files with 4 additions and 1 deletions
|
@ -494,7 +494,7 @@ returns
|
|||
def self.latest_change
|
||||
key = "#{self.new.class.name}_latest_change"
|
||||
updated_at = Cache.get( key )
|
||||
|
||||
puts "LOG AA #{key}/#{updated_at}"
|
||||
# if we do not have it cached, do lookup
|
||||
if !updated_at
|
||||
o = self.select(:updated_at).order(updated_at: :desc).limit(1).first
|
||||
|
@ -502,7 +502,10 @@ returns
|
|||
updated_at = o.updated_at
|
||||
self.latest_change_set(updated_at)
|
||||
end
|
||||
puts "LOG AA Lookup #{key}/#{updated_at}"
|
||||
|
||||
end
|
||||
puts "LOG AA RETURN #{key}/#{updated_at}"
|
||||
updated_at
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue