[erlang-questions] catch supervisor failure
Thu Aug 25 21:52:22 CEST 2011
No this is exactly what supervisors are for. I see no need at all to
write your own supervisor.
On Thu, Aug 25, 2011 at 1:56 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
> I need to fetch url once a minute. It is ok for remote server to fail
> to reply with this url several times, so I want to use supervisor
> mechanism for it:
> set 60 restarts in 5 seconds as a limit and if supervisor fails, it
> should be stopped for some time. After 10 minutes it should be
> Question is: should I use supervisors for this mechanism or I need to
> write my own failure tracker?
> erlang-questions mailing list
More information about the erlang-questions