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]
WHAFVCEI - [4]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [5]
NREF6YOA* Don't start more builds concurrently than allowed for each system - [6]
TWVSALRL* Allow the maximum number of concurrent builds per platform to be - [7]
QZLMDKMU* Queue runner: don't start scheduled builds builds if they belong to - [8]
7YBYT2LQ - [9]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction. - [10]
DQD7JMSU* Fix the terminology.
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, ",