[erlang-patches] allow use of proplists in supervisor start specs
José Valim
jose.valim@REDACTED
Wed Sep 3 14:21:28 CEST 2014
> Personally, I think that changing Id to 'name' might not be necessary.
>
Agreed.
Changing it to name could also cause confusion with the actual process name
(given on supervisor/gen_server/etc's start_link).
> Would it make sense to put both values into a tuple using only one key
> (restart_frequency, ...?) in the map?
>
In Elixir we use:
• max_restarts - the maximum amount of restarts allowed in a time frame.
• max_seconds - the time frame in which max_restarts applies.
I would avoid calling it just "time" or "period" because those do not make
clear what is the time unit.
*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20140903/f43dad2a/attachment.htm>
More information about the erlang-patches
mailing list