Skip to main content

run_daemon

Function run_daemon 

Source
pub fn run_daemon(bundle_root: &Path) -> Result<(), FttsError>
Expand description

Run the resident daemon until the idle period passes without a request.

Binds first and loads the model lazily on the first request, so the process is connectable within milliseconds of spawning and a daemon that never gets a request costs no model memory before its idle exit.