enum Honcho::Strategy
Defined in:
honcho/strategy.crEnum Members
-
ISOLATED =
0
-
Each child process is treated independently. If a child process crashes, no other child processes are affected.
This is most similar to the
one_for_one
strategy from erlang'ssupervisor
module. -
UNIFIED =
1
-
All child processes are managed in a unified way, effectively treating all child processes as a single process. If a child process crashes, all other children are killed and restarted appropriately.
This is most similar to the
one_for_all
strategy from erlang'ssupervisor
module.