Entropy.Supervisor (Entropy v0.1.0)
View SourceThe root supervisor for the Entropy system.
Strategy
Uses :rest_for_one. The supervision order is strictly defined to ensure
dependencies are available before consumers start:
- Safety & State:
CircuitBreaker,ZombieRegistry,ImmunityRegistry. (Fundamental storage and safety checks). - Data Provision:
Census. (Requires state to be stable and provides data to the Scheduler). - Logic:
Scheduler. (Consumer. Depends on all previous processes).
If a state process crashes, the Scheduler is restarted to ensure it reconnects to the refreshed state processes.
Child Conditional Loading
Children are dynamically filtered based on
Entropy.Config.is_injection_enabled?/0.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.