You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2016/02/07 23:39:10 UTC

svn commit: r1729047 - /comdev/reporter.apache.org/trunk/scripts/committee_info.py

Author: sebb
Date: Sun Feb  7 22:39:09 2016
New Revision: 1729047

URL: http://svn.apache.org/viewvc?rev=1729047&view=rev
Log:
Reduce network traffic for webapp calls

Modified:
    comdev/reporter.apache.org/trunk/scripts/committee_info.py

Modified: comdev/reporter.apache.org/trunk/scripts/committee_info.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/committee_info.py?rev=1729047&r1=1729046&r2=1729047&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/committee_info.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/committee_info.py Sun Feb  7 22:39:09 2016
@@ -15,7 +15,8 @@ from urlutils import UrlCache
 URL='https://whimsy.apache.org/public/committee-info.json'
 
 
-uc = UrlCache(interval=0, silent=True)
+# Don't check more often than every minute (used by webapp as well as cronjobs)
+uc = UrlCache(interval=60, silent=True)
 
 def loadJson(url):
     resp = uc.get(url, name=None, encoding='utf-8', errors=None)