mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
Don't memoize on get_promotion_list_cached.
This commit is contained in:
@@ -802,7 +802,6 @@ def get_promotion_list(user, site):
|
||||
return [PromoTuple(*t) for t in tuples]
|
||||
|
||||
|
||||
@memoize('promotion_list', time=60)
|
||||
def get_promotion_list_cached(sites):
|
||||
weights = get_live_promotions(sites)
|
||||
if not weights:
|
||||
|
||||
Reference in New Issue
Block a user