Fix "Evaluation pending since..." message even though the jobset has been evaluated

This commit is contained in:
Eelco Dolstra 2017-06-12 14:15:00 +02:00
parent dfb3a52f67
commit f0d24af940
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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();