aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-06-05 06:04:17 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-06-05 06:04:17 +0000
commit27856563636fc90b930a7f9e05a5b3d78cc913bb (patch)
treeb60269deffcf13977a46810d592d44a20cf9980e /web
parentUpdate FAQ to state the ordering of results per bug #272572. (diff)
downloadpackages-27856563636fc90b930a7f9e05a5b3d78cc913bb.tar.gz
packages-27856563636fc90b930a7f9e05a5b3d78cc913bb.tar.bz2
packages-27856563636fc90b930a7f9e05a5b3d78cc913bb.zip
Change default expiry time to every 30 minutes, on the 30.
Diffstat (limited to 'web')
-rw-r--r--web/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/model.py b/web/model.py
index 9266fb9..22672f0 100644
--- a/web/model.py
+++ b/web/model.py
@@ -157,7 +157,7 @@ class PackageDB(object):
if not obj:
obj = func()
if self.mc and obj:
- kwopts['time'] = mc_expiretime(600)
+ kwopts['time'] = mc_expiretime(60*30)
self.mc.set(key, obj, **kwopts)
return obj