[erlang-questions] terminate supervisor from it's child process
block.rxckin.beats@REDACTED
block.rxckin.beats@REDACTED
Thu Feb 14 10:09:53 CET 2019
> No, I meant:
> udp_sup
> -> udp_worker
> -> proto_sup
> -> dtls_woker
> -> stun_worker
> -> srtp_worker
in that case,
udp_worker can terminate proto_sup
but who terminate udp_sup ?
here is my PoC
https://github.com/Jxck/udp_server
2019年2月14日(木) 17:59 Vance Shipley <vances@REDACTED>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190214/6f97b0b5/attachment.htm>
More information about the erlang-questions
mailing list