unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Attila Lendvai <attila@lendvai.name>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: shepherd respawn frequency
Date: Sun, 02 Jul 2023 22:01:26 +0200	[thread overview]
Message-ID: <87zg4et755.fsf@gnu.org> (raw)
In-Reply-To: <bGCU7KHyHA2JPBvuFtyzn7MHs52dXt2SAUHjyZ6vQUhohqCmpmqPsjh7WDYbHQz_VgB1ujdxjapLxNR1UYTx4io-je-56QjmnqR-0alO4rc=@lendvai.name> (Attila Lendvai's message of "Sat, 27 May 2023 08:34:51 +0000")

Hi!

Attila Lendvai <attila@lendvai.name> skribis:

> would the shepherd maintaners (looking at you Ludo :) accept a change that introduces a new field into <service> called RESPAWN-DELAY, and issue a fiber sleep in RESPAWN-SERVICE when it is not #false, and the daemon process quits unexpectedly?

We could do that.  It never occurred to me that this is something one
would want to have though.  My reasoning is that if you mark a service
as respawnable, then you really want it to be respawned as soon as it
fails, not 5 seconds later.

Do you have a motivating example in mind (a daemon) to share?

Thanks,
Ludo’.


  reply	other threads:[~2023-07-02 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27  8:34 shepherd respawn frequency Attila Lendvai
2023-07-02 20:01 ` Ludovic Courtès [this message]
2023-07-02 20:11   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-07-02 20:25   ` Attila Lendvai
2023-07-03  9:08   ` Efraim Flashner

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=87zg4et755.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=attila@lendvai.name \
    --cc=guix-devel@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.
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).