TaskBunny v0.0.1-dev.8 TaskBunny.Supervisor

Main supervisor for TaskBunny.

It supervises Connection and WorkerSupervisor with one_for_all strategy. When Connection crashes, it will restart all Worker through WorkerSupervisor so workers can always use re-established connection.

It loads RabbitMQ hosts and workers from config.

Summary

Functions

start_link(name \\ __MODULE__, wsv_name \\ WorkerSupervisor)
start_link(atom, atom) :: {:ok, pid} | {:error, term}