[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: publish: Use a larger zlib buffer for compression with '--cache'.
From: |
Ludovic Courtès |
Subject: |
01/09: publish: Use a larger zlib buffer for compression with '--cache'. |
Date: |
Tue, 2 May 2017 06:33:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e723178a10223166a31af0f4dc5c2fe116b3992d
Author: Ludovic Courtès <address@hidden>
Date: Mon May 1 22:05:29 2017 +0200
publish: Use a larger zlib buffer for compression with '--cache'.
* guix/scripts/publish.scm (bake-narinfo+nar): Pass #:buffer-size to
'call-with-gzip-output-port'.
---
guix/scripts/publish.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm
index a589f14..8864c2e 100644
--- a/guix/scripts/publish.scm
+++ b/guix/scripts/publish.scm
@@ -455,7 +455,8 @@ requested using POOL."
(call-with-gzip-output-port (open-output-file (string-append nar
".tmp"))
(lambda (port)
(write-file item port))
- #:level (compression-level compression))
+ #:level (compression-level compression)
+ #:buffer-size (* 128 1024))
(rename-file (string-append nar ".tmp") nar))
('none
;; When compression is disabled, we retrieve files directly from the
- branch master updated (7020a6a -> 8a21050), Ludovic Courtès, 2017/05/02
- 01/09: publish: Use a larger zlib buffer for compression with '--cache'.,
Ludovic Courtès <=
- 02/09: gnu: emacs-emms: Update to 4.3., Ludovic Courtès, 2017/05/02
- 05/09: gnu: libiconv: Update to 1.15., Ludovic Courtès, 2017/05/02
- 03/09: gnu: acct: Update to 6.6.3., Ludovic Courtès, 2017/05/02
- 06/09: gnu: ocrad: Update to 0.26., Ludovic Courtès, 2017/05/02
- 07/09: gnu: parallel: Update to 20170422., Ludovic Courtès, 2017/05/02
- 04/09: gnu: less: Update to 487., Ludovic Courtès, 2017/05/02
- 08/09: services: nscd: Create /etc/resolv.conf if it does not exist., Ludovic Courtès, 2017/05/02
- 09/09: substitute: Validate substitute URLs., Ludovic Courtès, 2017/05/02