aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
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)
{