aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-10-07 10:27:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-10-07 10:27:53 +0300
commitfb3be3dcb4b03d78ee35ebfa18d9c46d0664a055 (patch)
tree762b976006b56784e22e6c167e3920927088cef8 /mod
parent8b1a9523bd5050a51310a04bec6c0a2065d2b04b (diff)
Suppress redundant object section loading in build task handler
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-build-task.cxx3
1 files changed, 2 insertions, 1 deletions
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<collect_auxiliaries_result> 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)
{