pub async fn build_server(config_path: Option<&Path>) -> Result<BoundServer>Expand description
Runs every step of bhtune-server’s startup through binding its listening socket:
resolve config (an explicit config_path if given, otherwise the platform’s
auto-discovered path – mirroring bhtune-cli calling load_config(None) whenever
--config itself wasn’t passed), init logging, open/migrate/seed the database, spawn the
periodic retention sweeper, and bind the configured address.
Does not start serving – see serve.