Revert "Remove memoize on normalize_hot."

This reverts commit 1dbc2b181a463828a0eda76551a1e1d1b31afeb5.
This commit is contained in:
Jason Harvey
2013-04-08 22:55:10 -07:00
committed by Max Goodman
parent 6f1028e6b3
commit 7ecceb9169

View File

@@ -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)