Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
Increase cache tile duration from 6 hours to 1 week
Browse files Browse the repository at this point in the history
  • Loading branch information
nidico committed Apr 30, 2014
1 parent 8c365d7 commit 9387069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adhocracy/lib/tiles/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def render():
tile=tile, **kwargs)
rendered = ""
if cached and config.get_bool('adhocracy.cache_tiles'):
@memoize('tile_cache' + template_name + def_name, 86400 / 4)
@memoize('tile_cache' + template_name + def_name, 7 * 86400)
def _cached(**kwargs):
return render()
rendered = _cached(locale=c.locale, **kwargs)
Expand Down

0 comments on commit 9387069

Please sign in to comment.