unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 24496@debbugs.gnu.org, ng0 <ngillmann@runbox.com>
Subject: bug#24496: offloading should fall back to local build after n tries
Date: Tue, 21 Dec 2021 15:28:35 +0100	[thread overview]
Message-ID: <878rwe6nho.fsf@gnu.org> (raw)
In-Reply-To: <87lf0i6gj6.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 17 Dec 2021 16:57:33 -0500")

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> I just reviewed this commit, and don't see anywhere where the behavior
> would have changed.  The discarding happens here:
>
> -         (if (and node (< load 2.) (>= space %minimum-disk-space))
> +         (if (and node
> +                  (or (not threshold) (< load threshold))
> +                  (>= space %minimum-disk-space))
>
> previously load could be set to +inf.0.  Now it is a float between 0.0
> and 1.0, with threshold defaulting to 0.6.

Ah alright, so we’re fine.

> As far as I remember, this has always been a problem for me (busy
> offload machines being forever retried with no fallback to the local
> machine).

OK, I guess I’m overlooking something.

Thanks,
Ludo’.




      parent reply	other threads:[~2021-12-21 14:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21  9:39 bug#24496: offloading should fall back to local build after n tries ng0
2016-09-26  9:20 ` Ludovic Courtès
2016-10-04 17:08   ` ng0
2016-10-05 11:36     ` Ludovic Courtès
2021-12-16 12:52   ` zimoun
2021-12-17 15:33     ` Ludovic Courtès
2021-12-17 21:57       ` Maxim Cournoyer
2021-12-18  0:10         ` zimoun
2021-12-21 14:28         ` Ludovic Courtès [this message]

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=878rwe6nho.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=24496@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=ngillmann@runbox.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).