aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-builds.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-04-12 21:49:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-04-14 12:27:01 +0300
commit43a47ce352dc43662dc5a59123ce4823e9ba7189 (patch)
tree07565442388faaf32cc856e175dd8882ef427398 /mod/mod-builds.cxx
parentf17ffcc3577014c89d5c4d1009d06ff0e3dabba4 (diff)
Add support for random package ordering in build task module
Diffstat (limited to 'mod/mod-builds.cxx')
-rw-r--r--mod/mod-builds.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx
index b0ff61a..bad13c1 100644
--- a/mod/mod-builds.cxx
+++ b/mod/mod-builds.cxx
@@ -825,8 +825,8 @@ handle (request& rq, response& rs)
//
size_t npos (0);
- size_t ncur = build_db_->query_value<package_build_count> (
- build_query<package_build_count> (&conf_ids, bld_params, tn));
+ size_t ncur (build_db_->query_value<package_build_count> (
+ build_query<package_build_count> (&conf_ids, bld_params, tn)));
// From now we will be using specific values for the below filters for
// each build database query. Note that the toolchain is the only