aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-03-12 20:47:43 +0000
committerChristopher Baines <mail@cbaines.net>2020-03-12 20:47:43 +0000
commit24e7df541be727ecbc0041099cf3fc53d070b8c9 (patch)
tree02f7959a8b3678a56cff6a6b13df845a0f5f9271
parent885053e107599734711b7f3fa8688caf2c88c853 (diff)
downloaddata-service-24e7df541be727ecbc0041099cf3fc53d070b8c9.tar
data-service-24e7df541be727ecbc0041099cf3fc53d070b8c9.tar.gz
Query for more recent derivation outputs by default
Rather than looking for the oldest unknown outputs, as the new ones are generally more useful.
-rw-r--r--guix-data-service/builds.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/builds.scm b/guix-data-service/builds.scm
index 919c8f7..09c61e0 100644
--- a/guix-data-service/builds.scm
+++ b/guix-data-service/builds.scm
@@ -605,7 +605,7 @@ WHERE NOT EXISTS (
")"))
"
)
-ORDER BY derivation_output_details_sets.id, derivation_output_details.id
+ORDER BY derivation_output_details_sets.id DESC, derivation_output_details.id
LIMIT 15000"))
(fold (lambda (row result)