unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: help-guix mailing list <help-guix@gnu.org>
Subject: Guix substitute timeout
Date: Sun, 01 Sep 2019 10:08:07 +0100	[thread overview]
Message-ID: <87sgpgfkp4.fsf@cbaines.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

Hey,

I'm unsure how well the substituter copes with unreliable network
connections, anecdotally it seems to often hang indefinitely.

Looking at the code [1], there is some code that looks like it would
cancel the substitution after some amount of time, but it also looks to
be disabled (as #:timeout? is #f when fetch is called).

Is this something that was never enabled, or does it need to be enabled
in some way?

Thanks,

Chris

1: https://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/substitute.scm?id=1719f4f1e3aba3af60b5f7e63b8db529ef777af5#n1041

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

             reply	other threads:[~2019-09-01  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-01  9:08 Christopher Baines [this message]
2019-09-02 12:11 ` Guix substitute timeout Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgpgfkp4.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).