diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-23 22:25:04 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-23 22:28:49 +0100 |
commit | d3a652037ef879f9279bc056c43d15ba7afcbb25 (patch) | |
tree | d4c1293c818d66f509870a407e5a645393ccbe97 /gnu/packages | |
parent | 0561e9ae16c2894d19432f1c6eb8e99ad508dc47 (diff) | |
download | guix-d3a652037ef879f9279bc056c43d15ba7afcbb25.tar.gz guix-d3a652037ef879f9279bc056c43d15ba7afcbb25.zip |
substitute-binary: Pipeline HTTP requests instead of using threads.
* guix/scripts/substitute-binary.scm (fetch-narinfo, %lookup-threads,
n-par-map*): Remove.
(narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
http-multiple-get, read-to-eof, fetch-narinfos, lookup-narinfos,
narinfo-from-file): New procedures.
(lookup-narinfo): Rewrite in terms of 'lookup-narinfos'.
(guix-substitute-binary): Use 'lookup-narinfos' instead of
'lookup-narinfo'.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions