Thanks, Redvers, for the quick response.
On Friday, 26 August 2016 15:28:51 UTC+5:30, Redvers Davies wrote:
>
> You wouldn't. If it's an application, let it run as an application.
>
> The BEAM managed applications, that's what it's best at. The last thing
> you want to do it try and take over that role.
>
I certainly do not want to do that! :-)
> Perhaps instead we should help you work out why the application isn't
> starting for you?
>
I should clarify that when I include `eredis_cluster` in the list
of applications in `mix.exs`, it does get started properly. However, when
something goes wrong, and `eredis_cluster` crashes, it is not coming back
up. So, I thought that it should be made a worker under my application's
supervisor. Including it in the supervision tree did not work. Hence my
question!
-- 0|0
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-talk/48c6fdb4-beee-4594-b3c0-939ab12e4330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.