[erlang-questions] Cowboy monitoring long-lived HTTP connections
Max Lapshin
max.lapshin@REDACTED
Sat Jan 10 12:01:01 CET 2015
terminate should never be used as a reliable callback.
Our production-tested gen_tracker registrator:
https://github.com/erlyvideo/gen_tracker adds after_terminate callback
that will be called with some metadata _after_ process dies.
But your case will be handled automatically in gen_tracker and in gproc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150110/829ff95e/attachment.htm>
More information about the erlang-questions
mailing list