From c9727aac405123ecf2ffb26745fa255a76c87e40 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 27 Feb 2015 15:04:05 +0100 Subject: download: Comment on lack of progress report with chunked encoding. * guix/build/download.scm (progress-proc): Add comment. --- guix/build/download.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/build/download.scm b/guix/build/download.scm index 6c94fa0574..a3105ad41d 100644 --- a/guix/build/download.scm +++ b/guix/build/download.scm @@ -64,6 +64,9 @@ representing it in a human-readable way." "Return a procedure to show the progress of FILE's download, which is SIZE byte long. The returned procedure is suitable for use as an argument to `dump-port'. The progress report is written to LOG-PORT." + ;; XXX: Because of this procedure is often not + ;; called as frequently as we'd like too; this is especially bad with Nginx + ;; on hydra.gnu.org, which returns whole nars as a single chunk. (let ((start-time #f)) (let-syntax ((with-elapsed-time (syntax-rules () -- cgit 1.4.1