Skip to main content

orphaned_subscriptions

Function orphaned_subscriptions 

Source
fn orphaned_subscriptions(
    registered: &[String],
    is_live: impl Fn(&str) -> bool,
) -> Vec<String>
Expand description

Subscribed agents no live block holds. Every way into the subscription (add_agent) runs with a live registration, so one without is a leak from a teardown that missed it; renewing its WAN lease would fence the agent everywhere else for as long as this srv runs.