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 2026/02/08 14:15:13 UTC

svn commit: r1931759 - comdev/reporter.apache.org/branches/tooling-project/scripts/rapp

Author: sebb
Date: Sun Feb  8 14:15:13 2026
New Revision: 1931759

Log:
Reduce timeout, and don't override it

Modified:
   comdev/reporter.apache.org/branches/tooling-project/scripts/rapp/bat.py

Modified: comdev/reporter.apache.org/branches/tooling-project/scripts/rapp/bat.py
==============================================================================
--- comdev/reporter.apache.org/branches/tooling-project/scripts/rapp/bat.py	Sun Feb  8 13:44:14 2026	(r1931758)
+++ comdev/reporter.apache.org/branches/tooling-project/scripts/rapp/bat.py	Sun Feb  8 14:15:13 2026	(r1931759)
@@ -21,7 +21,7 @@ BAT_AGENDA_IP = BAT_BASE + '/integration
 # Submit the report
 BAT_SUBMIT = BAT_BASE + '/integration/reporter/post'
 
-def get_bat(url, env, ttl = 14400):
+def get_bat(url, env, ttl = 3600):
     cached = True
     xurl = re.sub(r"[^a-z0-9]+", "-", url.replace('.json', ''))
     wanted_file = '/tmp/%s.json' % xurl
@@ -89,7 +89,7 @@ def agenda(environ, user, fproject = Non
     report = None
     _txtfile, url = latest_agenda(environ)
     if has_access(user, project):
-        agenda, _cached = get_bat(url, environ, ttl = 3600)
+        agenda, _cached = get_bat(url, environ)
         titleguess = guess_title(project)
         for entry in agenda:
             if titleguess == entry.get('title'):