Skip to content

Commit

Permalink
[fix mozilla#3373] Increase top contributors cache timeout to 3 hrs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetto committed Oct 17, 2018
1 parent 710d186 commit 7326495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kitsune/community/utils.py
Expand Up @@ -51,7 +51,7 @@ def top_contributors_questions(start=None, end=None, locale=None, product=None,
counts = _get_creator_counts(users, count, page)

if use_cache:
cache.set(cache_key, counts, 60*15) # 15 minutes
cache.set(cache_key, counts, 60*180) # 3 hours
return counts


Expand Down Expand Up @@ -99,7 +99,7 @@ def top_contributors_l10n(start=None, end=None, locale=None, product=None,
counts = _get_creator_counts(users, count, page)

if use_cache:
cache.set(cache_key, counts, 60*15) # 15 minutes
cache.set(cache_key, counts, 60*180) # 3 hours
return counts


Expand Down

0 comments on commit 7326495

Please sign in to comment.