Module config

Module config 

Source
Expand description

Configuration structs and hot-reload helpers for MindB.

The configuration layer is intentionally kept simple – all knobs are stored in plain Rust structs and validated eagerly so that misconfigurations are caught before spawning subsystems. A small helper enables dynamic reloads by broadcasting new configurations to interested components.

Structs§

ConfigManager
Thread-safe wrapper that keeps track of the active configuration and notifies subscribers whenever it changes.
DbConfig
Main configuration object used by the runtime.

Enums§

ConfigError
Errors raised when validating configuration values.