Respect SystemTypes if defined
[?]
Mar 5, 2013, 5:01 PM
RNNLIVYYCD6HQTY6WSKOYJ6FTWY7SFLZAZ42IEQM3JFWP3GOYQMQCDependencies
- [2]
SA5ZZ3I4hydra-queue-runner: Use nix.machines instead of the SystemTypes table to determine how many build jobs are allowed per system type. - [3]
DQD7JMSU* Fix the terminology. - [4]
NREF6YOA* Don't start more builds concurrently than allowed for each system - [5]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction. - [6]
7YBYT2LQ - [7]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [8]
WHAFVCEI - [9]
QZLMDKMU* Queue runner: don't start scheduled builds builds if they belong to - [10]
TWVSALRL* Allow the maximum number of concurrent builds per platform to be
Change contents
- replacement in src/script/hydra-queue-runner at line 78
my %maxConcurrent = ();my %maxConcurrent; - replacement in src/script/hydra-queue-runner at line 102
my $extraAllowed = $maxConcurrent{$system} - $nrActive;(my $systemTypeInfo) = $db->resultset('SystemTypes')->search({system => $system->system});my $max = defined $systemTypeInfo ? $systemTypeInfo->maxconcurrent : $maxConcurrent{$system} // 2;my $extraAllowed = $max - $nrActive; - replacement in src/script/hydra-queue-runner at line 115
"': $nrActive active, $maxConcurrent{$system} allowed, ","': $nrActive active, $max allowed, ",