From fb3be3dcb4b03d78ee35ebfa18d9c46d0664a055 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 7 Oct 2024 10:27:53 +0300 Subject: Suppress redundant object section loading in build task handler --- mod/mod-build-task.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index 06ba4f8..917017b 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -1804,7 +1804,8 @@ handle (request& rq, response& rs) const config_machine* cm (nullptr); optional aux; - build_db_->load (*p, p->constraints_section); + if (!p->constraints_section.loaded ()) + build_db_->load (*p, p->constraints_section); for (auto i (configs.begin ()), e (configs.end ()); i != e; ++i) { -- cgit v1.1