Skip to main content

Module engine_process

Module engine_process 

Source
Expand description

The rivet-engine subprocess manager lives in the standalone rivetkit-engine-process crate so the CLI and other hosts can reuse the same resolution, spawn, reuse, and orphan-lifetime logic. This module re-exports it for existing in-crate callers.

Structs§

EngineProcessManager
Manages the rivet-engine subprocess.
EngineResolverConfig

Enums§

EngineProcessError
ResolvedEngine

Functions§

engine_data_path
Path to the local engine’s Depot data under the shared storage root. It holds the log shard and the object store, and is kept apart from the db directory older engines used.
engine_env
Computes the environment variables that configure a rivet-engine process for the given endpoint. The engine requires the log directory to exist; see engine_log_directory.
resolve_engine_binary
resolve_engine_binary_path
Resolves the engine binary path without probing for an already-running engine.