diff options
author | Dan McGee <dan@archlinux.org> | 2014-10-19 18:12:58 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-10-19 18:12:58 -0500 |
commit | 7c46d07f6417382e560d32c361c94dd8f2b9ddb8 (patch) | |
tree | 7f383f165f7c295aabcacd591bb6f1f0594cb550 /main | |
parent | 1ff2e37e049004852681794537417a1947bf6f18 (diff) |
Use varied prime numbers for caching lengths
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r-- | main/templatetags/pgp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/pgp.py b/main/templatetags/pgp.py index cc080439..2417f688 100644 --- a/main/templatetags/pgp.py +++ b/main/templatetags/pgp.py @@ -44,7 +44,7 @@ def pgp_key_link(key_id, link_text=None): return '<a href="%s" title="PGP key search for %s">%s</a>' % values -@cache_function(1800) +@cache_function(1741) def name_for_key(normalized): try: matching_key = DeveloperKey.objects.select_related( |