@ -106,7 +106,7 @@ sub checkBuilds {
|
|||||||
{ join => ['project'], select => ['system'], as => ['system'], distinct => 1 });
|
{ join => ['project'], select => ['system'], as => ['system'], distinct => 1 });
|
||||||
|
|
||||||
# Get the total number of scheduling shares.
|
# Get the total number of scheduling shares.
|
||||||
my $totalShares = getTotalShares($db);
|
my $totalShares = getTotalShares($db) || 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.
|
# concurrent build for that system type.
|
||||||
|
Reference in New Issue
Block a user