diff options
author | Christopher Baines <mail@cbaines.net> | 2020-05-10 18:27:56 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-05-10 18:27:56 +0100 |
commit | bd7e7e76803a6c9d85a392c321839f83160d20f8 (patch) | |
tree | ed460474992fb177da67520b4d154bbeb5e238fb /sqitch/pg/verify | |
parent | 78ed59c7292d57906f0539d7e2df5962dcb45d38 (diff) | |
download | build-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 'sqitch/pg/verify')
-rw-r--r-- | sqitch/pg/verify/build_results_result_index.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/pg/verify/build_results_result_index.sql b/sqitch/pg/verify/build_results_result_index.sql new file mode 100644 index 0000000..1c19fd1 --- /dev/null +++ b/sqitch/pg/verify/build_results_result_index.sql @@ -0,0 +1,7 @@ +-- Verify guix-build-coordinator:build_results_result_index on pg + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |