These docs describe unreleased changes on main. See the latest release.

rlmesh.ServeOptions

classfrom rlmesh import ServeOptions[source]

Server lifecycle options.

ServeOptions(
    *,
    allow_remote_shutdown: bool = ...,
    idle_timeout_seconds: Optional[float] = None,
    drain_timeout_seconds: Optional[float] = None,
    close_timeout_seconds: Optional[float] = None,
    workflow_edition: Optional[str] = None,
    compress_responses: bool = ...,
) -> ServeOptions

allow_remote_shutdown

property[source]
property allow_remote_shutdown: bool

idle_timeout_seconds

property[source]
property idle_timeout_seconds: Optional[float]

drain_timeout_seconds

property[source]
property drain_timeout_seconds: Optional[float]

close_timeout_seconds

property[source]
property close_timeout_seconds: Optional[float]

workflow_edition

property[source]
property workflow_edition: Optional[str]

compress_responses

property[source]
property compress_responses: bool

Whether an env server compresses its responses (zstd, else gzip) for a client that accepts them. Off by default; it only pays on a slow link.