Skip to main content

install_shutdown_handlers

Function install_shutdown_handlers 

Source
pub fn install_shutdown_handlers()
Expand description

Installs SIGTERM + SIGINT handlers that request a graceful drain-and-stop. Call once from the dispatcher binary’s main (never in bounded test runs).