mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Make LRUCache togglable
This commit is contained in:
@@ -379,9 +379,7 @@ class Title
|
||||
|
||||
ary.reverse! unless opt.not_nil!.ascend
|
||||
|
||||
if Config.current.sorted_entries_cache_enable
|
||||
LRUCache.set generate_cache_entry cache_key, ary
|
||||
end
|
||||
LRUCache.set generate_cache_entry cache_key, ary
|
||||
ary
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user