diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-14 22:27:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-17 14:38:26 +0300 |
commit | 48f1c1feda91d9809406c83569443eedc9ea799e (patch) | |
tree | c56f4f2ed420d4e02be6e3ce84800cd3372bec4f /mod/mod-package-version-details.cxx | |
parent | 5af5a6c6aa4c2b31e63d64a43ab647bd6def3808 (diff) |
Optimize builds page by discouraging PostgreSQL from using the nested loop join strategy
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r-- | mod/mod-package-version-details.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index bf592e9..632e2ca 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -624,7 +624,7 @@ handle (request& rq, response& rs) dir_path vd (fdd / rd / dir_path (pkg->project.string ()) / - dir_path (pn.string ()) / + dir_path (pn.string ()) / dir_path (sver)); try @@ -799,6 +799,10 @@ handle (request& rq, response& rs) ts += ')'; + // @@ Note that here we also load result logs which we don't need. + // Probably we should invent some table view to only load operation + // names and statuses. + // if (b.state == build_state::built) build_db_->load (b, b.results_section); |