forked from lix-project/hydra
* Shut up DBIx::Class.
This commit is contained in:
parent
08f3b7bf2a
commit
f158697796
|
@ -61,7 +61,7 @@ sub checkBuilds {
|
||||||
# Get the system types for the runnable builds.
|
# Get the system types for the runnable builds.
|
||||||
my @systemTypes = $db->resultset('Builds')->search(
|
my @systemTypes = $db->resultset('Builds')->search(
|
||||||
{ finished => 0, busy => 0, enabled => 1, disabled => 0 },
|
{ finished => 0, busy => 0, enabled => 1, disabled => 0 },
|
||||||
{ join => ['schedulingInfo', 'project'], select => [{distinct => 'system'}], as => ['system'] });
|
{ join => ['schedulingInfo', 'project'], select => ['system'], as => ['system'], distinct => 1 });
|
||||||
|
|
||||||
# For each system type, select up to the maximum number of
|
# For each system type, select up to the maximum number of
|
||||||
# concurrent build for that system type. Choose the highest
|
# concurrent build for that system type. Choose the highest
|
||||||
|
|
Loading…
Reference in a new issue