diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-06-18 00:11:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-18 00:12:22 +0200 |
commit | 2207f73156e144a9349e4d395d5049119b67a896 (patch) | |
tree | 0591adc884afb84ad665a37692a55e9130d289d0 /.dir-locals.el | |
parent | 8cf13c1f70ac2f3d1886f2d521b16915fc3f9d29 (diff) | |
download | guix-2207f73156e144a9349e4d395d5049119b67a896.tar guix-2207f73156e144a9349e4d395d5049119b67a896.tar.gz |
substitute-binary: Provide feedback when the server is unresponsive.
* guix/scripts/substitute-binary.scm (%fetch-timeout): New variable.
(with-timeout): New macro.
(fetch): Add `timeout?' keyword parameter. Enclose `http-fetch' call
in `with-timeout'.
(guix-substitute-binary): Call `fetch' with #:timeout? #f.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions