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 2019/08/05 15:07:18 UTC

svn commit: r1864444 - /comdev/reporter.apache.org/trunk/site/wizard/comments.py

Author: sebb
Date: Mon Aug  5 15:07:18 2019
New Revision: 1864444

URL: http://svn.apache.org/viewvc?rev=1864444&view=rev
Log:
Use existing cache area

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/comments.py

Modified: comdev/reporter.apache.org/trunk/site/wizard/comments.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/comments.py?rev=1864444&r1=1864443&r2=1864444&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/comments.py (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/comments.py Mon Aug  5 15:07:18 2019
@@ -53,7 +53,7 @@ def main():
     if BASIC_AUTH and project and project in pmcSummary:
         
         # Fetch comments from cache or whimsy (hackish!)
-        wanted_file = "%s/tmp/comments_cache.json" % RAO_HOME
+        wanted_file = "%s/data/cache/comments_cache.json" % RAO_HOME
         if (os.path.exists(wanted_file) and os.path.getmtime(wanted_file) > (time.time() - 7200)):
             rv = json.load(open(wanted_file, "r"))
             cached = True