summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2017-09-16 14:10:18 -0600
committer宋文武 <iyzsong@member.fsf.org>2017-09-20 19:49:31 +0800
commit798648515b77507c242752457b4dc17c155bad6e (patch)
treebc2eef3747fd694efd5c0c065e56330c8257f453 /gnu
parentf1b65d0dd964e4c457e660b9289a357447939d93 (diff)
downloadguix-798648515b77507c242752457b4dc17c155bad6e.tar.gz
download: Don't report the progress too fast.
* guix/utils.scm (<progress-reporter>): New record type.
(call-with-progress-reporter): New procedure.
* guix/build/download.scm (dump-port*, rate-limited, progress-reporter/file):
New procedures.
(ftp-fetch, http-fetch): Use 'dump-port*'.
(progress-proc): Remove procedure.
* guix/scripts/substitute.scm (progress-report-port): Rewrite in terms of
<progress-reporter>.
(process-substitution): Adjust accordingly.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions