[erlang-questions] terminate supervisor from it's child process

Vance Shipley vances@REDACTED
Thu Feb 14 09:59:45 CET 2019


On Thu, Feb 14, 2019 at 1:47 PM block.rxckin.beats@REDACTED
<block.rxckin.beats@REDACTED> wrote:
> I think you mean like this.
>
> udp_sup - udp_worker
>                |- dtls_sup - dtls_woker
>                .... (same for stun,srtp)
>
> if udp_worker be temporary, udp_sup will ignore,
> if udp_wokrer be permanent and intensity = 0, period = 1
> udp_sup will terminate with error because of restart error (even if I don't intent to restart)
>
>
> if I misreading something, please mention me.

No, I meant:

     udp_sup
          -> udp_worker
          -> proto_sup
               -> dtls_woker
               -> stun_worker
               -> srtp_worker


-- 
     -Vance



More information about the erlang-questions mailing list