aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-01-31 18:21:32 +0000
committerChristopher Baines <mail@cbaines.net>2022-01-31 18:21:32 +0000
commit5d6eb372ecda14df0d678a75194c607635095d04 (patch)
tree1cf1bd3acf09151677982ebd5c28335169719b3a /guix-build-coordinator
parentd731ea11a83802a6dec00a9586ba8015802ee6a1 (diff)
downloadbuild-coordinator-5d6eb372ecda14df0d678a75194c607635095d04.tar
build-coordinator-5d6eb372ecda14df0d678a75194c607635095d04.tar.gz
Fix the selecting of builds from the allocation plan
I believe this was changed in error in f70c97b6c79b9e91b16dfa9685fef6985682d6f0.
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r--guix-build-coordinator/datastore/sqlite.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm
index 845f8b2..a778386 100644
--- a/guix-build-coordinator/datastore/sqlite.scm
+++ b/guix-build-coordinator/datastore/sqlite.scm
@@ -2654,7 +2654,7 @@ WHERE build_allocation_plan.agent_id = :agent_id
AND builds.processed = 0
AND builds.canceled = 0
AND builds.id NOT IN (SELECT build_id FROM allocated_builds)
-ORDER BY build_allocation_plan.ordering DESC"
+ORDER BY build_allocation_plan.ordering ASC"
#:cache? #t))
(output-conflicts-statement
(sqlite-prepare