bug 976104: raise slaverebooter's parallelization. r=jhopkins
authorBen Hearsum <bhearsum@mozilla.com>
Tue, 25 Feb 2014 10:01:29 -0500
changeset 4398 4c299ced7fccdf6da468ccbf7fdb9cf984c27836
parent 4397 962428e9bc2ad305304856796be70f198040bf66
child 4399 f6c525826ba0aa9ef901e624838c07dc6977d4c1
push id3212
push userbhearsum@mozilla.com
push dateTue, 25 Feb 2014 15:01:37 +0000
reviewersjhopkins
bugs976104
bug 976104: raise slaverebooter's parallelization. r=jhopkins
buildfarm/maintenance/reboot-idle-slaves.py
setup.py
--- a/buildfarm/maintenance/reboot-idle-slaves.py
+++ b/buildfarm/maintenance/reboot-idle-slaves.py
@@ -17,17 +17,17 @@ import time
 
 import logging
 log = logging.getLogger(__name__)
 
 site.addsitedir(path.join(path.dirname(path.realpath(__file__)), "../../lib/python"))
 
 from util.retry import retry
 
-MAX_WORKERS = 4
+MAX_WORKERS = 16
 IDLE_THRESHOLD = 5*60*60
 PENDING, RUNNING, SUCCESS, FAILURE = range(4)
 
 def get_production_slaves(slaveapi):
     url = furl(slaveapi)
     url.path.add("slaves")
     url.args["environment"] = "prod"
     url.args["enabled"] = 1
--- a/setup.py
+++ b/setup.py
@@ -1,15 +1,15 @@
 #! /usr/bin/env python
 
 from setuptools import setup, find_packages
 
 setup(
     name="buildtools",
-    version="1.0.3",
+    version="1.0.4",
     description="Mozilla RelEng Toolkit",
     author="Release Engineers",
     author_email="release@mozilla.com",
 
     # python packages are under lib/python.  Note that there are several
     # top-level packages here -- not just a buildtools package
 
     packages=find_packages("lib/python"),