From adb9ad83dd7f5d01ee9f648b167fb4130c3280b2 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 2 May 2013 11:32:25 -0400 Subject: [PATCH] hydra-evaluator: Respect triggers of disabled jobsets Signed-off-by: Shea Levy --- src/script/hydra-evaluator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index a9ce4ea4..7eae59ff 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -263,7 +263,7 @@ sub checkJobset { sub checkSomeJobset { # If any jobset has been triggered by a push, check it. my ($jobset) = $db->resultset('Jobsets')->search( - { 'project.enabled' => 1, 'me.enabled' => 1, 'triggertime' => { '!=', undef }, + { 'triggertime' => { '!=', undef }, , -or => [ 'lastcheckedtime' => undef, 'lastcheckedtime' => { '<', time() - $minCheckInterval } ] }, { join => 'project', order_by => [ 'triggertime' ], rows => 1 });