aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-05-10 18:27:56 +0100
committerChristopher Baines <mail@cbaines.net>2020-05-10 18:27:56 +0100
commitbd7e7e76803a6c9d85a392c321839f83160d20f8 (patch)
treeed460474992fb177da67520b4d154bbeb5e238fb /guix-build-coordinator/datastore.scm
parent78ed59c7292d57906f0539d7e2df5962dcb45d38 (diff)
downloadbuild-coordinator-bd7e7e76803a6c9d85a392c321839f83160d20f8.tar
build-coordinator-bd7e7e76803a6c9d85a392c321839f83160d20f8.tar.gz
Replace datastore-fetch-input-builds-for-unprocessed-builds
It worked under some database conditions, but was very slow under others. Move more of the logic in to SQL in an attempt to make the allocator faster. This sort of works, but there were some advantages to the approach before the approach being replaced in this commit.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r--guix-build-coordinator/datastore.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm
index 0267f28..f17a0fb 100644
--- a/guix-build-coordinator/datastore.scm
+++ b/guix-build-coordinator/datastore.scm
@@ -33,7 +33,7 @@
(re-export datastore-list-builds-for-derivation)
(re-export datastore-list-processed-builds)
(re-export datastore-list-unprocessed-builds)
-(re-export datastore-fetch-input-builds-for-unprocessed-builds)
+(re-export datastore-list-unprocessed-builds-with-built-inputs)
(re-export datastore-fetch-unprocessed-builds-with-propagated-priorities)
(re-export datastore-list-unprocessed-hook-events)
(re-export datastore-delete-unprocessed-hook-event)