From 92ea800cfb8dc3395fd92ab0c0bc7dd915d0b8b4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Jun 2015 04:19:21 +0200 Subject: [PATCH] Set finishedInDB in a few more places --- src/hydra-queue-runner/hydra-queue-runner.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 6cd5c828..6f13a15f 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -532,6 +532,7 @@ void State::getQueuedBuilds(Connection & conn, std::shared_ptr store, (time(0)) ("derivation was garbage-collected prior to build").exec(); txn.commit(); + build->finishedInDB = true; nrBuildsDone++; return; } @@ -609,6 +610,7 @@ void State::getQueuedBuilds(Connection & conn, std::shared_ptr store, (now) (buildStatus != bsUnsupported ? 1 : 0).exec(); txn.commit(); + build->finishedInDB = true; nrBuildsDone++; badStep = true; break;