<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div>Personally, I think that changing Id to 'name' might not be necessary.</div></div></div></blockquote><div><br></div><div>Agreed.</div><div><br></div><div>Changing it to name could also cause confusion with the actual process name (given on supervisor/gen_server/etc's start_link).</div>
<div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div></div><div>Would it make sense to put both values into a tuple using only one key (restart_frequency, ...?) in the map?<br>
</div></div></div></blockquote><div><br></div><div>In Elixir we use:</div><div><br></div><div> • max_restarts - the maximum amount of restarts allowed in a time frame.</div><div> • max_seconds - the time frame in which max_restarts applies.</div>
<div><br></div><div>I would avoid calling it just "time" or "period" because those do not make clear what is the time unit.</div><div><br></div><div><div><div><br></div><div><span style="font-size:13px"><div>
<span style="font-family:arial,sans-serif;border-collapse:collapse"><b>José Valim</b></span></div><div><span style="font-family:arial,sans-serif;border-collapse:collapse"><div><span style="font-family:verdana,sans-serif;font-size:x-small"><a href="http://www.plataformatec.com.br/" target="_blank" style="color:rgb(42,93,176)">www.plataformatec.com.br</a></span></div>
<div><span style="font-family:verdana,sans-serif;font-size:x-small">Skype: jv.ptec</span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small">Founder and Lead Developer</span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small"><br>
</span></div></span></div></span></div></div></div></div></div></div>