From b424851a1fc62a63a88fae2010ad6c0f8ce17702 Mon Sep 17 00:00:00 2001 From: Gery Debongnie Date: Mon, 18 Aug 2014 14:57:04 +0200 Subject: [PATCH] [IMP] removes meaningless running and testing max the runbot don't know how many machines are working and their specific configurations. --- runbot/runbot.py | 2 -- runbot/runbot.xml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index 0d65815d..2806d113 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -987,8 +987,6 @@ class RunbotController(http.Controller): context = { 'repos': repos, 'repo': repo, - 'workers': icp.get_param(cr, uid, 'runbot.workers', default=6), - 'running_max': icp.get_param(cr, uid, 'runbot.running_max', default=75), 'pending_total': build_obj.search_count(cr, uid, [('state','=','pending')]), 'testing_total': build_obj.search_count(cr, uid, [('state','=','testing')]), 'running_total': build_obj.search_count(cr, uid, [('state','=','running')]), diff --git a/runbot/runbot.xml b/runbot/runbot.xml index 1b973c6a..4bc1405c 100644 --- a/runbot/runbot.xml +++ b/runbot/runbot.xml @@ -348,8 +348,8 @@ - / testing, - / running, + testing, + running, pending