lib/mapper.rb in reso-0.1.5.5 vs lib/mapper.rb in reso-0.1.5.6

- old
+ new

@@ -111,10 +111,10 @@ year_built year_updated ) def self.fetch_enumeration class_name, item_name - Rails.cache.fetch([class_name, item_name], expires_in: 1.hours) do + Rails.cache.fetch([class_name, item_name], expires_in: 12.hours) do class_name.constantize.find_by(name: item_name) end end def self.address_types item_name \ No newline at end of file