mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
Revert "Remove memoize on normalize_hot."
This reverts commit 1dbc2b181a463828a0eda76551a1e1d1b31afeb5.
This commit is contained in:
committed by
Max Goodman
parent
6f1028e6b3
commit
7ecceb9169
@@ -27,6 +27,7 @@ from r2.lib import _normalized_hot
|
||||
|
||||
from r2.lib._normalized_hot import get_hot # pull this into our namespace
|
||||
|
||||
@memoize('normalize_hot', time = g.page_cache_time)
|
||||
def normalized_hot_cached(sr_ids, obey_age_limit=True):
|
||||
return _normalized_hot.normalized_hot_cached(sr_ids, obey_age_limit)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user