Feature Requests

Ulf Wiger etxuwig@REDACTED
Sat Nov 10 23:10:49 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. (:

/Uffe
-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks




More information about the erlang-questions mailing list