Skip to main content

HANDOFF_SHUTDOWN_FLUSH_TIMEOUT

Constant HANDOFF_SHUTDOWN_FLUSH_TIMEOUT 

Source
pub const HANDOFF_SHUTDOWN_FLUSH_TIMEOUT: Duration;
Expand description

Explicit lifetime-policy fallback window for a foreign guest PID 1.

Idle, startup-command completion and parent-death policies may bound guest shutdown before host teardown. Public Stop and its timeout variant do not install this timer, and agentd no longer sends a fallback SIGTERM.

Equals HANDOFF_POWEROFF_TIMEOUT plus SHUTDOWN_FLUSH_MARGIN for the init’s own signal handling — enforced at compile time below.