[erlang-questions] Restarting supervision tree

Martin Dimitrov mrtndimitrov@REDACTED
Tue Jul 2 12:49:28 CEST 2013

Thanks. I figured that supervisor:terminate_child/2 will actually not
trigger the recovery mechanism at all.

On 7/2/2013 1:37 PM, Jesper Louis Andersen wrote:
> On Mon, Jul 1, 2013 at 11:13 AM, Martin Dimitrov <mrtndimitrov@REDACTED>wrote:
>> If I call
>> supervisor:terminate_child/2 and then supervisor:restart_child/2 on the
>> permanent worker, will this affect the maximum restart frequency?
> No, it will not affect the maximum restart frequency in this case. The way
> I usually figure this out
> is by reading the source code of the supervisror module however, and I am
> not sure that is the best
> way to have it documented. But at least that is one way to figure it out :P

More information about the erlang-questions mailing list