aboutsummaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-06-18 00:11:40 +0200
committerLudovic Courtès <ludo@gnu.org>2013-06-18 00:12:22 +0200
commit2207f73156e144a9349e4d395d5049119b67a896 (patch)
tree0591adc884afb84ad665a37692a55e9130d289d0 /daemon.am
parent8cf13c1f70ac2f3d1886f2d521b16915fc3f9d29 (diff)
downloadguix-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 'daemon.am')
0 files changed, 0 insertions, 0 deletions