Skip to main contentModule supervisor
Source - Supervisor
- Manages running node processes. Holds child process handles and runtime state.
- LIVENESS_POLL_INTERVAL
- How often the liveness poll verifies that each Running node’s OS process still exists.
- UPGRADE_POLL_INTERVAL
- How often the upgrade-detection task polls each running node’s binary for a version change.
- build_node_args
- Build CLI arguments for the node binary from a NodeConfig.
- spawn_liveness_monitor
- Poll each Running node’s PID for OS liveness every
LIVENESS_POLL_INTERVAL,
flipping dead ones to Stopped and emitting NodeStopped. - spawn_upgrade_monitor
- Periodically probe each Running node’s on-disk binary for a version change.