From c16410d19ea96e82a8adb164635411df54a8be53 Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Wed, 24 Apr 2024 09:49:23 +0200 Subject: Revert "Also pass build hints to build_building() and build_built()" This reverts commit 9aa7ca59da55089e6f00733476356ef90bef25d2. --- mod/mod-build-result.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mod/mod-build-result.cxx') diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx index 3ee1f57..3ba18e1 100644 --- a/mod/mod-build-result.cxx +++ b/mod/mod-build-result.cxx @@ -203,7 +203,7 @@ handle (request& rq, response&) const tenant_service_build_built* tsb (nullptr); const tenant_service_build_queued* tsq (nullptr); optional>> tss; - tenant_service_base::build_hints bhs; + tenant_service_build_queued::build_queued_hints qhs; // Acquire the database connection for the subsequent transactions. // @@ -357,8 +357,8 @@ handle (request& rq, response&) shared_ptr p ( build_db_->load (b->id.package)); - bhs = tenant_service_base::build_hints {tpc == 1, - p->configs.size () == 1}; + qhs = tenant_service_build_queued::build_queued_hints { + tpc == 1, p->configs.size () == 1}; // Set the package tenant's queued timestamp. // @@ -531,7 +531,7 @@ handle (request& rq, response&) if (auto f = tsq->build_queued (ss, qbs, build_state::building, - bhs, + qhs, log_writer_)) { conn = build_db_->connection (); @@ -555,7 +555,7 @@ handle (request& rq, response&) // conn.reset (); - if (auto f = tsb->build_built (ss, b, bhs, log_writer_)) + if (auto f = tsb->build_built (ss, b, log_writer_)) { conn = build_db_->connection (); update_tenant_service_state (conn, b.tenant, f); -- cgit v1.1