Skip to main content

run

Function run 

Source
pub async fn run() -> Result<()>
Expand description

Runs the embedding server end-to-end: load config, spawn the worker pool, install the readiness probe, start the heartbeat, and serve HTTP traffic.

Background tasks log and call process::exit(1) on their own unrecoverable failures so the container is restarted by the orchestrator.

ยงErrors

Returns Err if the TCP listener cannot bind to the configured address.