Process supervisor using the one_for_all strategy.
However, instead of registering a list of processes, you have one process which runs a pool. Makes for an easy implementation.
Parameters: |
|
---|
Limit the number of restarts which can occur in a given time interval.
The max restart frequency is the number of restarts that can occur within the interval max_restart_freq_time.
The restart mechanism prevents situations where the process repeatedly dies for the same reason. If this happens both the process and the supervisor is terminated.