Skip to main content

DEFAULT_SHUTDOWN_DEADLINE

Constant DEFAULT_SHUTDOWN_DEADLINE 

Source
pub const DEFAULT_SHUTDOWN_DEADLINE: Duration;
Expand description

Default shutdown deadline for graceful module stop (35 seconds).

This is intentionally 5 seconds longer than WithLifecycle::stop_timeout (30s default) to ensure deterministic behavior: the lifecycle’s internal timeout fires first, and the runtime deadline acts as a hard backstop.