Skip to main content

engine_env

Function engine_env 

Source
pub fn engine_env(
    config: &EngineResolverConfig,
) -> Result<Vec<(String, String)>>
Expand description

Computes the environment variables that configure a rivet-engine process for the given endpoint.

Shared by the spawn path and by callers that exec the engine binary directly (for example the CLI engine proxy) so both operate on the same database, guard, api-peer, and metrics ports.