Make LRUCache togglable

This commit is contained in:
Leeingnyo
2021-09-05 03:02:20 +09:00
parent 847f516a65
commit 11976b15f9
2 changed files with 9 additions and 5 deletions
+1 -3
View File
@@ -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