TaskBunny v0.3.2 TaskBunny.Supervisor View Source
Main supervisor for TaskBunny.
It supervises Connection and WorkerSupervisor with one_for_all strategy. When Connection crashes it restarts all Worker processes through WorkerSupervisor so workers can always use a re-established connection.
You don’t have to call or start the Supervisor explicity. It will be automatically started by application and configure child processes based on configuration file.