diff options
author | Christopher Baines <mail@cbaines.net> | 2025-03-02 08:44:01 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2025-03-02 09:08:23 +0000 |
commit | 7737f5f91a64388a0f19713a7579fdaffe23151d (patch) | |
tree | eb97d1a5017784b1bb812892bea96b1999819f08 /sqitch/sqlite/revert/allocated_builds_submit_outputs.sql | |
parent | 1c86e5e1c7459dd2e14c85a305966468fbe6b313 (diff) | |
download | build-coordinator-7737f5f91a64388a0f19713a7579fdaffe23151d.tar build-coordinator-7737f5f91a64388a0f19713a7579fdaffe23151d.tar.gz |
Do less work when fetching builds
Don't necessarily use a transaction if there are no allocation plan builds,
and only run the submit-outputs hook once and store the values, rather than
running it each time for each fetch builds request for every allocated build.
Diffstat (limited to 'sqitch/sqlite/revert/allocated_builds_submit_outputs.sql')
-rw-r--r-- | sqitch/sqlite/revert/allocated_builds_submit_outputs.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/sqlite/revert/allocated_builds_submit_outputs.sql b/sqitch/sqlite/revert/allocated_builds_submit_outputs.sql new file mode 100644 index 0000000..240de22 --- /dev/null +++ b/sqitch/sqlite/revert/allocated_builds_submit_outputs.sql @@ -0,0 +1,7 @@ +-- Revert guix-build-coordinator:allocated_builds_submit_outputs from sqlite + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; |