diff --git a/app/models/category.rb b/app/models/category.rb index 68eed7090d9..c8fb148c663 100644 --- a/app/models/category.rb +++ b/app/models/category.rb @@ -199,7 +199,7 @@ SQL def description_text return nil unless description - @@cache ||= LruRedux::ThreadSafeCache.new(100) + @@cache ||= LruRedux::ThreadSafeCache.new(1000) @@cache.getset(self.description) do Nokogiri::HTML(self.description).text end