hyperlane-plugin-shutdown 23.3.2

A graceful shutdown coordinator plugin for the Hyperlane framework providing OS signal arming (SIGINT/SIGTERM), lock-free in-flight request draining, bounded drain timeouts, LIFO async shutdown callbacks, and ServerControlHook integration.
Documentation
1
2
3
4
5
6
7
mod shutdown;

use super::*;

use std::sync::Mutex;

use hyperlane::tokio::{self, time::sleep};