[erlang-questions] catch supervisor failure

Max Lapshin <>
Thu Aug 25 20:56:03 CEST 2011


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
restarted.

Question is: should I use supervisors for this mechanism or I need to
write my own failure tracker?



More information about the erlang-questions mailing list