Feature Requests

Sean Hinde Sean.Hinde@REDACTED
Sun Nov 11 23:25:53 CET 2001


> On Fri, 9 Nov 2001, Sean Hinde wrote:
> 
> >STDLIB:
> >Supervisors with option of delay between restarts
> 
> I assume that you feel that it's insufficient to insert a sleep
> in the worker's init function? I can think of two reasons:
> 
> (1) the process doesn't know if it's the first start or a
> subsequent one, and
> 
> (2) you'd like the delay to occur before the process is actually
> spawned and (most likely) registered.
> 
> (1) above should definitely be solved. Not being able to tell the
> difference between a normal start and a looping restart means
> that restart escalation seldomly works effectively. If you want
> (2), I'm curious to hear your justification. (:

Err, now you mention it sleeping in init would probably do most of the job
:) Though it would, as you say, be better to be able to distinguish restarts
from startup.

Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





More information about the erlang-questions mailing list