diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-30 15:58:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-30 16:34:39 +0200 |
commit | 1ae0e1dc29109cef20dbe9d26eb1c855694716b5 (patch) | |
tree | accccbabb0b2996eaa50233939ddbdb1a39972d3 /tests | |
parent | 281bf7274529ae47f007a2b1eceacb5f25d12c0d (diff) | |
download | guix-1ae0e1dc29109cef20dbe9d26eb1c855694716b5.tar.gz |
store: 'map/accumulate-builds' preserves caches.
Fixes <https://issues.guix.gnu.org/55721>. Starting from the switch to functional object caches ca. 9e5812ac59b01ff011ec0c5b0f437dfe85d6fcc7, we would be losing accumulated caches when aborting to the build handler. This patch fixes that. In particular, by preserving '%reference-cache-id', we avoid redundant 'query-references' RPCs, which accounted for a large part of the extra processing time. * guix/store.scm (build-accumulator): When returning an <unresolved> node, call 'set-store-connection-caches!' before and after to preserve caches. (map/accumulate-builds): Pass STORE as the first argument to the <unresolved> continuation.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions