[pypy-svn] r78210 - pypy/build/bot2/pypybuildbot

arigo at codespeak.net arigo at codespeak.net
Fri Oct 22 15:47:24 CEST 2010


Author: arigo
Date: Fri Oct 22 15:47:22 2010
New Revision: 78210

Modified:
   pypy/build/bot2/pypybuildbot/master.py
   pypy/build/bot2/pypybuildbot/summary.py
Log:
Raaaaaaah.  Grrr grr gr.  Killed the lines in master.py.


Modified: pypy/build/bot2/pypybuildbot/master.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/master.py	(original)
+++ pypy/build/bot2/pypybuildbot/master.py	Fri Oct 22 15:47:22 2010
@@ -317,14 +317,3 @@
     'buildbotURL': 'http://codespeak.net:%d/'%(httpPortNumber),
     'projectURL': 'http://codespeak.net/pypy/',
     'projectName': 'PyPy'}
-
-CACHESIZE = 80 # cache size for build outcomes
-
-estimated = (sum([len(_sched.listBuilderNames())
-             for _sched in BuildmasterConfig['schedulers']]) * 6)
-
-if estimated > CACHESIZE:
-    raise ValueError("master.py CACHESIZE (%d) is too small considered"
-                     " a builder*scheduler combinations based estimate (%d)"
-                     % (CACHESIZE, estimated))
-summary.outcome_set_cache.cachesize = CACHESIZE

Modified: pypy/build/bot2/pypybuildbot/summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/summary.py	(original)
+++ pypy/build/bot2/pypybuildbot/summary.py	Fri Oct 22 15:47:22 2010
@@ -295,7 +295,7 @@
 
 N = 5
 
-outcome_set_cache = RevisionOutcomeSetCache(25*(N+1))
+outcome_set_cache = RevisionOutcomeSetCache(32*(N+1))
 
 
 def colsizes(namekeys):



More information about the Pypy-commit mailing list