| |
@@ -1454,7 +1454,8 @@
|
| |
.join(models.Package)
|
| |
.options(
|
| |
load_only("build_id", "status", "mock_chroot_id", "result_dir"),
|
| |
- contains_eager("build").load_only("package_id", "copr_dir_id")
|
| |
+ contains_eager("build").load_only("package_id", "copr_dir_id",
|
| |
+ "pkg_version")
|
| |
.contains_eager("package").load_only("name"),
|
| |
)
|
| |
.filter(models.BuildChroot.mock_chroot_id.in_(mock_chroot_ids))
|
| |
Slowdown on projects with 70k output BuildChroots is not not measurable
(on local box).
Fixes: #1993