From f0d24af9404ef20cec6d946d1a9c82bf7f5a9063 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Jun 2017 14:15:00 +0200 Subject: [PATCH] Fix "Evaluation pending since..." message even though the jobset has been evaluated --- src/hydra-evaluator/hydra-evaluator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-evaluator/hydra-evaluator.cc b/src/hydra-evaluator/hydra-evaluator.cc index 005fad9d..e7d619b3 100644 --- a/src/hydra-evaluator/hydra-evaluator.cc +++ b/src/hydra-evaluator/hydra-evaluator.cc @@ -259,7 +259,7 @@ struct Evaluator jobset from getting stuck in an endless failing eval loop. */ txn.parameterized - ("update Jobsets set triggerTime = null where project = $1 and name = $2 and startTime is not null and triggerTime < startTime") + ("update Jobsets set triggerTime = null where project = $1 and name = $2 and startTime is not null and triggerTime <= startTime") (jobset.name.first) (jobset.name.second) .exec();