bodhi/util.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1c136b1d637fd77967a724fca485d5e6eb460f5b
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Nov 22 18:44:23 2011 -0500
Cache our critpath list for 1 day by default
diff --git a/bodhi/util.py b/bodhi/util.py
index 97615df..014da5c 100644
--- a/bodhi/util.py
+++ b/bodhi/util.py
@@ -295,9 +295,9 @@ def get_pkg_pushers(pkgName, collectionName='Fedora',
collectionVersion='devel')
return ((pAllowed, pNotify), (gAllowed, gNotify))
-def cache_with_expire(expire=600):
+def cache_with_expire(expire=86400):
# expire is the number of seconds to cache for.
- # Default is 600s == 10 minutes
+ # Default is 86400s == 24 hours
_cache = {}
def cached(func, *args, **kwargs):
# Setup the args
Show replies by date