diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-20 00:37:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-20 00:37:47 +0200 |
commit | 94080a7263c2e8c8b6f9250cc83e74a7ae142f06 (patch) | |
tree | b9ff9ec749e8c97966fe923ee82f5ee0df1e4a1f /gnu/packages/boost.scm | |
parent | 7f23fb00882dd65b4cad51a9cf52d5f86b32fdb4 (diff) | |
download | guix-94080a7263c2e8c8b6f9250cc83e74a7ae142f06.tar guix-94080a7263c2e8c8b6f9250cc83e74a7ae142f06.tar.gz |
publish: Do not load archive content in memory.
Previously, before replying to a /nar/* request, 'guix publish' would first
build up the whole nar into memory (as a consequence of
<http://bugs.gnu.org/21093>), which obviously doesn't scale.
* guix/scripts/publish.scm (render-nar): Return STORE-PATH instead of a
procedure that calls 'write-file'.
(sans-content-length): New procedure.
(http-write): For 'x-nix-archive', don't call '%http-write'. Instead, call
'write-file' right from here, using BODY as the file name.
Diffstat (limited to 'gnu/packages/boost.scm')
0 files changed, 0 insertions, 0 deletions