use std::time::Duration;

pub struct ShutdownConfig {
    pub graceful_timeout: Duration,
    pub restart_on_success: bool,
    pub restart_delay: Duration,
}

impl Default for ShutdownConfig {
    fn default() -> Self {
        Self {
            graceful_timeout: Duration::from_secs(5),
            restart_on_success: true,
            restart_delay: Duration::ZERO,
        }
    }
}
