Skip to main content

DEFAULT_SHUTDOWN_TIMEOUT

Constant DEFAULT_SHUTDOWN_TIMEOUT 

Source
pub const DEFAULT_SHUTDOWN_TIMEOUT: Duration;
Expand description

Default SpawnOptions::shutdown_timeout: how long MuseChild::close (and so MuseClient::close) lets the host drain after stdin EOF before it escalates (SIGTERM on Unix; the platform kill elsewhere). It is the host’s own stdio drain timeout, so a healthy host finishes its orderly wind-down (turn cancel, durable session end) inside it.