aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-11 01:14:52 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-11 01:14:52 +0000
commitad9480d72a27800a137ed2b72ea37e749a234f0b (patch)
tree1f35519d7bf434e85d80bd40af6dfb9007fef425 /web
parent/categories/ did not hit a cache. (diff)
downloadpackages-ad9480d72a27800a137ed2b72ea37e749a234f0b.tar.gz
packages-ad9480d72a27800a137ed2b72ea37e749a234f0b.tar.bz2
packages-ad9480d72a27800a137ed2b72ea37e749a234f0b.zip
Update expiry time.
Diffstat (limited to 'web')
-rw-r--r--web/lib/headers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/lib/headers.py b/web/lib/headers.py
index 9cb5220..2fce8b1 100644
--- a/web/lib/headers.py
+++ b/web/lib/headers.py
@@ -21,8 +21,9 @@ def pageexpire_timestamp():
expire_ts = expire_ts - expire_ts % (30*60)
# Now find the next one
expire_ts += (30*60)
- # And allow 5 minutes for processing changes
- expire_ts += (5*60)
+ # We run at every 15,45
+ # And take a worst case of 2 minutes
+ expire_ts += (17*60)
return expire_ts
def httpheader_expires():