Re: allow use of proplists in supervisor start specs
José Valim <[email protected]> Wed, 3 Sep 2014 14:21:28 +0200
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CAGnRm4+hkag2WA3w2+Ug-gOAoPwjOmL4E0spwk5SiJ1q9na8xA@mail.gmail.com> |
> 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 _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches