emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50717: closed ([PATCH] Shepherd: Add respawn-limit paramter to servi


From: GNU bug Tracking System
Subject: bug#50717: closed ([PATCH] Shepherd: Add respawn-limit paramter to service class.)
Date: Tue, 02 Jan 2024 22:33:01 +0000

Your message dated Tue, 02 Jan 2024 23:31:59 +0100
with message-id <87il4bgye8.fsf@gnu.org>
and subject line Re: [bug#50717] [PATCH] Shepherd: Add respawn-limit paramter 
to service class.
has caused the debbugs.gnu.org bug report #50717,
regarding [PATCH] Shepherd: Add respawn-limit paramter to service class.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
50717: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50717
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Shepherd: Add respawn-limit paramter to service class. Date: Tue, 21 Sep 2021 00:42:14 -0700
Hello Guix devs,

This patch to GNU Shepherd removes the hard-coded respawn limit and
makes it a configurable option.
The respawn limit works generally the same way as before, allowing N
respawns in M seconds:

#:respawn-limit '(N . M)

We can disable respawns by setting N to 0, which will abort the service
after the first crash. Likewise, we can always respawn by setting

#:respawn-limit #f


Sincerely,
Ryan Sundberg

Attachment: 0001-service-Add-respawn-limit-paramter-to-the-service-cl.patch
Description: Text Data

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#50717] [PATCH] Shepherd: Add respawn-limit paramter to service class. Date: Tue, 02 Jan 2024 23:31:59 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Hi Ryan,

Ryan Sundberg <ryan@arctype.co> skribis:

> This patch to GNU Shepherd removes the hard-coded respawn limit and
> makes it a configurable option.
> The respawn limit works generally the same way as before, allowing N
> respawns in M seconds:
>
> #:respawn-limit '(N . M)

This is was eventually implemented (independently, oops!) in commit
93baa23baee1e0c62d46d9fd041fc1dabc081f26 (June 2023), which made it in
0.10.2.

Thanks,
Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]