forked from lix-project/hydra
50 for related builds might be a kind of low, will start with 100
This commit is contained in:
parent
924d94cafd
commit
2cf9b148eb
|
@ -85,7 +85,7 @@ sub view_build : Chained('build') PathPart('') Args(0) {
|
||||||
{ eval => { -in => $build->jobsetevalmembers->get_column('eval')->as_query } }
|
{ eval => { -in => $build->jobsetevalmembers->get_column('eval')->as_query } }
|
||||||
, { join => 'jobsetevalmembers', order_by => [ 'project', 'jobset', 'job'] }
|
, { join => 'jobsetevalmembers', order_by => [ 'project', 'jobset', 'job'] }
|
||||||
);
|
);
|
||||||
if ($r->count <= 50) {
|
if ($r->count <= 100) {
|
||||||
$c->stash->{relatedbuilds} = [$r->all];
|
$c->stash->{relatedbuilds} = [$r->all];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue