[erlang-questions] Use of application environment

Christian chsu79@REDACTED
Tue Dec 2 12:51:01 CET 2008


On Tue, Dec 2, 2008 at 12:36, Adam Kelly <cthulahoops@REDACTED> wrote:
> I took the decision early in my Erlang learning that individual
> servers shouldn't know whether or not they are part of a supervision

> I'm also very interested as to what approach others take to this issue.

I let my supervisors extract the app configuration items that are
needed, they are so simple and uninteresting to test. I never let
workers, gen_servers and other proc_lib:ish, access the app
configuration.



More information about the erlang-questions mailing list