[IMP] removes meaningless running and testing max

the runbot don't know how many machines are working and their specific
configurations.
This commit is contained in:
Gery Debongnie 2014-08-18 14:57:04 +02:00
parent 533b96bba5
commit b424851a1f
2 changed files with 2 additions and 4 deletions

View File

@ -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')]),

View File

@ -348,8 +348,8 @@
</div>
</form>
<span class="navbar-brand navbar-right">
<t t-esc="testing_total"/>/<t t-esc="workers"/> testing,
<t t-esc="running_total"/>/<t t-esc="running_max"/> running,
<t t-esc="testing_total"/> testing,
<t t-esc="running_total"/> running,
<t t-esc="pending_total"/> pending
</span>
</t>