[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: store: Increase buffering for the '%stderr-write' upcall.
From: |
Ludovic Courtès |
Subject: |
04/06: store: Increase buffering for the '%stderr-write' upcall. |
Date: |
Thu, 1 Dec 2016 22:35:32 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 6374633b9205f60ad0e7ff42bbf39e441ae2f328
Author: Ludovic Courtès <address@hidden>
Date: Thu Dec 1 23:09:34 2016 +0100
store: Increase buffering for the '%stderr-write' upcall.
* guix/store.scm (process-stderr) <%stderr-write>: Pass #:buffer-size to
'dump-port'.
---
guix/store.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/store.scm b/guix/store.scm
index 689a94c..a669011 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -470,7 +470,8 @@ encoding conversion errors."
;; Write a byte stream to USER-PORT.
(let* ((len (read-int p))
(m (modulo len 8)))
- (dump-port p user-port len)
+ (dump-port p user-port len
+ #:buffer-size (if (<= len 16384) 16384 65536))
(unless (zero? m)
;; Consume padding, as for strings.
(get-bytevector-n p (- 8 m))))
- branch master updated (4b67098 -> 463fb7d), Ludovic Courtès, 2016/12/01
- 01/06: offload: Remove redundant call to 'topologically-sorted' in 'send-file'., Ludovic Courtès, 2016/12/01
- 03/06: daemon: Buffer data sent to clients by the 'export-path' RPC., Ludovic Courtès, 2016/12/01
- 05/06: offload: Gracefully report connection failures., Ludovic Courtès, 2016/12/01
- 02/06: offload: Warn about the lack of zlib support., Ludovic Courtès, 2016/12/01
- 04/06: store: Increase buffering for the '%stderr-write' upcall.,
Ludovic Courtès <=
- 06/06: offload: Do not abort when a machine is unreachable., Ludovic Courtès, 2016/12/01