Skip to main content

Module runtime

Module runtime 

Source
Expand description

Node runtime: owns the iroh endpoint, metrics server, and protocol router.

Re-exports§

pub use reload::LogLevelApply;
pub use reload::LogLevelSetter;
pub use reload::ReloadSnapshot;
pub use reload::RuntimeReloadState;

Modules§

eviction
Cache-eviction driver loop (#1173, ADR 040 §Whole-blob reclaim; range eviction is upstream-gated).
reload
Hot-reload of mutable configuration fields on SIGHUP.

Functions§

run
Build the endpoint, register handlers on a Router, spawn the metrics server and other background tasks, and run until a shutdown signal is received.