From bbf718e64dc77cfee858b0e989e8280a128f5fbd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 9 Jul 2009 10:53:31 +0000 Subject: [PATCH] * Revert for now due to Postgres breakage. --- src/script/hydra_queue_runner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra_queue_runner.pl b/src/script/hydra_queue_runner.pl index 05d9c3ac..bf204b28 100755 --- a/src/script/hydra_queue_runner.pl +++ b/src/script/hydra_queue_runner.pl @@ -61,7 +61,7 @@ sub checkBuilds { # Get the system types for the runnable builds. my @systemTypes = $db->resultset('Builds')->search( { finished => 0, busy => 0, enabled => 1, disabled => 0 }, - { join => ['schedulingInfo', 'project'], group_by => 'system', as => ['system'] }); + { join => ['schedulingInfo', 'project'], select => [{distinct => 'system'}], as => ['system'] }); # For each system type, select up to the maximum number of # concurrent build for that system type. Choose the highest